Crash when trying to draw the debug world.
maddalax opened this issue · comments
maddalax commented
When I try to call debug draw world, it throws this error:
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Repeat 2 times:
--------------------------------
at BulletSharp.CollisionWorld.btCollisionWorld_debugDrawWorld(IntPtr)
--------------------------------
at BulletSharp.CollisionWorld.DebugDrawWorld()
I am using .NET 5.
maddalax commented
Ignore me, I was disposing of the world accidently...