Demonstration of a bug in Unity. Calling callbacks from native threads into C# will crash the unity debugger and unity editor.
To reproduce the bug:
- Open the unity project
- start the "startscene"
- Either attach the debugger at the start and walk trough the NativePlugin.cs or run the example and attach the debugger after it and press the pause button
- Unity and visual studio will crash