9d68559962740573302060cec9f5ca290ac1e760
Root cause: after Destruct(), physics world still references dead entities in its internal dictionary. SyncTransforms iterates dead entity IDs → Flecs assert ecs_is_alive. Fix: - Pause physics during reset - For each deleted entity: check Has<RigidBody>, call physicsWorld.RemoveBody to clean up Jolt body + dictionary entries BEFORE Destruct - Resume physics after CreateObjects - New objects get IsInitialized=false, physics bodies created next frame
Description
AI powered Game Engine
23 MiB
Languages
C#
97.8%
GLSL
1.8%
Shell
0.2%
PowerShell
0.2%