Hey!
I’m having a strange performance problem with Physics.simulate,
Normally I would just delete stuff from my scene during play until the bottleneck becomes appearent, but in this case even if i delete everything Physics.simulate stays up there…
It should be something I’m doing in script as a new empty scene doesn’t have it, i don’t know what i can possibly activate that could keep hammering the performace after deleting every object in the scene…
Anyone know what I could be missing?
Or maybe a good way to find out what exactly is using physics.simulate? deep profiling shows nothing extra…
Thanks!
Hey Thanks for the answer! I actually deleted everything, nothing left in the hierarchy... So thats strange. But I just "solved" my problem. My graphics manager script was disabled and so it left the fixed timestep settings on PC values giving a lot of overhead on iOS. Still strange to me that Physics.simulate costs 0.35ms on my machine when I deleted everything in the scene... and 0 to 0.04 in a clean scene.. I'll definitely look into the profiling tools though, sound quite usefull! thanks again!
– Jaywalker