- Home /
Physics.simulate and other functions getting called more than one times in a frame
As you can see in the screenshot above, physics.simulate is being called 4 times in a frame. So does other functions. Functions that are called more times are all fixedupdates or physics functions. Most update functions look normal
It doesn't run 4 call every frame, it changes between 1-4 times. (Some frames run normal as 1 call per frame)
In example, TSSimpleCar, TSTrafficAI and TSNavigation should be called 6 times but they are called 24. And there are 4 wheels but Wheel.Fixedupdate() function is called 16 times.
I also have another problem that may be connected to this one, profiler isn't fully syncronised with mobile phone, but it stays behind the phone. In example, I begin profiling, profiler fills very slowly, then I exit the app(or lock screen),unity still continues to receive profiler data for about 15 seconds and I am pretty sure it's data that could appear in some time earlier.
Unity 4.5.5p5, build target: WP8, test device: lumia-520
Your answer
Follow this Question
Related Questions
Physics.Simulate time increases exponentially relative to rigidbody count 1 Answer
Physics.Simulate is taking my 90% of GPU and CPU for A 2d GAME 1 Answer
In Profiler: What is "Animator.SendTransformChanged" 0 Answers
Physics.Simulate taking a long time 1 Answer
Should rigidbodies be destroyed as they fall out of stage? 1 Answer