So, I am making a 2D game i worked for a while on it last night. I get on today and the gravity seems to be about a third of what it was before. Objects don’t fall fast enough, when I jump the character goes up all the way until hitting the ceiling and then falls slowly back down to the ground.
I am 99% sure that i did not mess with any settings or change anything else. Last night when i finished i created a build of my project then i worked for about 10 more minutes fixing a few things. The build works fines but the current project in unity does not.
I have already tried creating a scriptless rigidbody in the scene but it falls at the same speed as everything else.
Go to the Edit menu then choose Project Settings then choose Physics 2D.
Verify that your gravity is set to (0,-9.81).
Then on each rigid body in your game verify that they each have their Gravity Scale set to 1. And verify that each have their Mass set to 1.
You’re still having problems?
I suggest as a test that you create a new project then copy one of your prefabs into the new project to see how it behaves.
I tried many different things to fix it, i could not find the problem so i just increased the effect of gravity form -9.81 to like 23. It is a temporary solution but it works for now.