
What could be the problem? At first, everything is fine, but after some time, freezes start to occur. These are specifically short-term drops in fps. I tried debugging using debug_event("ResourceCounts"), but all resources are within normal limits, and there are no leaks anywhere. Resources are periodically cleared. The freezes presumably occur when I create fixtures. I create several instances in a for loop, each of which creates a fixture in create event...
Game freezes after creating several fixtures