NullReferenceException

NullReferenceException: Object reference not set to an instance of an object
PlayerMovement.Move (Single h, Single v) (at Assets/Scripts/Player/PlayerMovement.cs:32)
PlayerMovement.FixedUpdate () (at Assets/Scripts/Player/PlayerMovement.cs:24)

i tried restarting it and checked line 32 and 24

24 Move (h, v);
32 playerRigidbody.MovePosition (transform.position +movement);

`

With that much code I’ll say the problem must be in playerRigidbody or movement, one of those is null so check if you’re initializing them.

transform.position won’t be null as long as the class inherits from MonoBehaviour.