Hey, all,
It’s a weird day today…
So I’m looking at the performance of my game in the profiler (the EDITOR profiler, not a debug build). Physics had been costing me a lot of frame time, so I basically removed it all, spawning rigidbodies as and when I need them.
The performance of the rigidbodies is as expected. No problems there. The weird thing is the collision points. Throughout the course of the game, they rest at around 800. In the final scene of each level, they start to “accelerate”…
The game is reporting, at times, 18,000 collision points!!!
I have NO idea what could be going on here. I don’t have any crazy particle colliders or anything - just objects. At this point, there are around 15 live rigidbodies, and the scene is static, nothing animating.
It feels like something not to do with my code. Anyone have any ideas?