- Home /
Seeing strange fluctuations in deltaTime after game has been running for a while
Hey all,
When my gaming has been running for a while (over an hour or so) I start to see weird values in Time.deltaTime... instead of seeing normal 0.03333 deltaTime (30fps), I see some of those interspersed with frames that return a deltaTime of only 0.005, and it seems like that's causing other issues. Any idea what could be causing it?
Thanks,
-Matt
Could be a lot of things. I would suspect some sort of memory allocation, where references to objects are kept around and the garbage collector can't remove them. While Task $$anonymous$$anager is a terrible way to monitor memory usage, it can show obvious problems - how much memory does it show your app is using when you start seeing the slow frames?
Your answer
Follow this Question
Related Questions
Different behavior between editor and standalone changing time step 0 Answers
High Speed 1 Answer
Time.timeScale and Time.fixedDeltaTime 1 Answer
Time.delta Time inconsistant 5 Answers
Make something change color for a set amount of time 3 Answers