Delta-Time speeds up when pressing buttons

Hello all!

Im developing a simple click based game with some textures moving around, all the textures are bound by unitys Time.DeltaTime.

My problem is that when i press a GUI.Button i have all the textures moving at that instance speeds up. This problem persists even if i remove all the buttons logic and just have an empty button.

I have tried to limit the FPS to 30 but without result.

anyone encounterd this before?


Problem was we update the positions in OnGUI, not in Update. Moving the logic to update solved everything, even the gift of life! Thx alot! :slight_smile: