Jump to content

Search the Community

Showing results for tags 'unigine 2.10'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to UNIGINE Forums
    • News & Announcements
    • Getting started
  • Development
    • Content Creation
    • World Design
    • Rendering
    • Animation
    • Physics, Navigation and Path Finding
    • UI Systems
    • Sound & Video
    • Editor
    • C++ Programming
    • C# Programming
    • Networking
    • Sim IG (Image Generator)
    • VR Discussions
    • General
  • Improving UNIGINE
    • Documentation
    • Feedback for UNIGINE team
    • Bug Reports
    • Unigine SDK Beta feedback
  • Community
    • Add-on Store (https://store.unigine.com/)
    • Showcase
    • Collaboration
    • Tools, Plugins, Materials & Tutorials
    • General Discussions
  • Legacy
    • UnigineScript

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 1 result

  1. Crash running custom Console command

    Hello, I have upgraded a bigger project from 2.9 to 2.10 and now I'm experiencing consistent crashs when I'm invoking any custom console command except the last one. The crash is actually quite easy to reproduce: 1.: Create a dotnet core project 2.: Modify the AppWorldLogic.cs file: private void Command1(int argc, string[] argv) { Log.Message("First command invoked\n"); } private void Command2(int argc, string[] argv) { Log.Message("Second command invoked\n"); } public override bool Init() { // Write here code to be called on world initialization: initialize resources for your world scene during the world start. Unigine.Console.AddCommand("run_first", "first command", Command1); Unigine.Console.AddCommand("run_second", "second command", Command2); Engine.GCMode = Engine.GCMODE.EVERY_FRAME; return true; } The crash happens when run_first is executed via the Console (run_second was working on my machine). Changing the Engine.GCMode is needed for reproducing the crash (in my real world application, which eats a lot of memory, I didn't touch the GCMode - so setting the GCMode to default is unfortunately not an option) Btw the debugger tells me that the crash is happening in Console::flush() line 1335. I'm running Windows 10, 1903 Many thanks, Helmut
×
×
  • Create New...