Hi everyone,
I am trying to get a native c++ plugin to run under Unity 2017 (Windows 64Bit). It did work under Unity <= 5.6,
but with Unity 2017, a standalone build using the plugin crashes when proceeding past the screen setup
dialog. The plugin works correctly in the Editor, but I get the following error messages, which might give a clue:
Assertion failed: Assertion failed on expression: ‘Thread::CurrentThreadIsMainThread()’
Assertion failed: Assertion failed on expression: ‘Thread::CurrentThreadIsMainThread()’
Same with the 2017.2 RC.
The crash/error occurs even with a plugin stipped of all its functionality. I.e. this also occurs with
a minimal plugin which merely has NOOP entry points for LoadModule / UnloadModule.
Has anyone experienced the same? I have filed a bug report, but I guess I must hit some edge-case / incompatibility or surely someone else would have reported this already?
I have opened an issue here: https://fogbugz.unity3d.com/default.asp?954173_vk8ungbtl3kto79c
thanks,
Manuel