Hey guys, I am just figuring out a simple platformer test and I cam accross massive frame drops (down to 30fps). I have no idea what is causing this.
My first guess was that i was using avian2d, so i tried it with rapier2d. Unfortunately it was a similar experience. When i removed physics completely the drops were still there.
I also tried removing the optimizations and building in release mode. Nothing helped.
If somebody has any suggestions, this would be super helpful!
The code it has three branches: main is with avian2d, then there is rapier and no physics.