I copied my player into a new scene and now my player cant move in eihter scene and seems as if the rigidbody is broken aswell

Hello, I’ve spent the last 2 days making a full scene to my game I’m trying to make and I got This movement script to help me make it. I got to a point where I wanted to continue with the next scene and go back to finish all parts of the tutorial later. So, I copied my player and camera into this new scene and now even after deleating the 2nd scene and re-doing the code. My player is forever frozen in place floating in the air. I’m really hoping somebody can help me out here because I’m at a complete loss.

Sounds like you wrote a bug… or left behind something that was critical, leading to this bug… and that means… time to start debugging!

Most likely you just forgot some critical scene connection.

By debugging you can find out exactly what your program is doing so you can fix it.

Use the above techniques to get the information you need in order to reason about what the problem is.

You can also use Debug.Log(...); statements to find out if any of your code is even running. Don’t assume it is.

Once you understand what the problem is, you may begin to reason about a solution to the problem.

Remember with Unity the code is only a tiny fraction of the problem space. Everything asset- and scene- wise must also be set up correctly to match the associated code and its assumptions.