Hey guys,
I have a problem with my unity project, it runs very well in the editor but when i build it, the velocity of the game increases a lot and become impossivel to play… I realy want it to become like in the editor.
What’s the bug here?
Hey guys,
I have a problem with my unity project, it runs very well in the editor but when i build it, the velocity of the game increases a lot and become impossivel to play… I realy want it to become like in the editor.
What’s the bug here?
Maybe the editor is running slower? Are you multiplying movement values that you add to things in the Update function by Time.deltaTime? Or maybe you should be using FixedUpdate to do physics stuff?
Yes i’m multiplying values in Update function by Time.deltaTime… i shouldn’t?
I find that you normally want to do that kind of stuff within the FixedUpdate function as opposed to the Update function
Thanks a lot, problem solved ![]()
Sometimes it may be frame related problem so sometimes use Time.deltaTime.