Hi, in my game I have a menu from which I load other scenes. However, when I get back to the menu the Time.time value gets blocked, while Time.timeSinceLevelLoad is stuck to 0.
How can I solve this?
Thanks in advance
Hi, in my game I have a menu from which I load other scenes. However, when I get back to the menu the Time.time value gets blocked, while Time.timeSinceLevelLoad is stuck to 0.
How can I solve this?
Thanks in advance
What does “the Time.time value gets blocked” mean? And what would it mean to solve that?
(The fact that timeSinceLevelLoad starts at 0 is perfectly normal — that’s what it’s supposed to be at the start of the level.)
If your time values aren’t advancing, then it sounds like some script in your project has set Time.timeScale to 0. Search for that, and you’ll find the problem.
@JoeStrout Thank you thank you thank you, I’ve been stuck for the past couple of hours, I had a game object in a scene setting the timeScale to 0 (to pause when game over), then when I load the next scene, the timeSinceLevelLoad is stock to 0, I totally forgot about the timeScale, thank you very much!!