- Home /
fixed
game objects speed up when loading a scene for the first time
I'm somewhat new to unity. I'm making a 2D game where basically there are 2 players that each control a triangle and try to hit a ball in the other's net. I have a few different maps/levels, and a level select as well as a menu screen. The problem is that when I select a level from the level select screen, the players and the ball speed up but ONLY until someone scores (then the scene is reset using SceneManager.LoadScene(SceneManager.GetActiveScene().name); and the game is fine) If I start the level from the editor without using the level select screen, it's also fine. I also think it's not some sort of time scale problem because my 3 2 1 GO! UI that plays before the game starts doesn't speed up even when the game objects do. It's super annoying and I don't have the faintest clue why it is happening
Please post code that moves your GameObjects, thanks.
Answer by Marioooo · Oct 17, 2019 at 01:53 AM
if you are using some king of time management, you should keep track of where time is changed and debug tose calls... if you are setting something across scenes, that also should be checked... maybe some more context would help..
Follow this Question
Related Questions
How to Increase speed of the ball over time? 3 Answers
Please help my head is burning from this problem : i have multiple gameobject , same script 1 Answer
Tile map (Unity plugin) please help it block my progress :( 1 Answer
Camera zooms in and out through objects 0 Answers
Mouse Movement In Pause Menu 1 Answer