Olezen / UnitySourceMovement

Source engine-like movement in Unity, based on Fragsurf by cr4yz (Jake E.).
MIT License
313 stars 46 forks source link

NullReferenceException: Object reference not set to an instance of an object #11

Closed Kevin-Kwan closed 4 years ago

Kevin-Kwan commented 4 years ago

I keep getting: NullReferenceException: Object reference not set to an instance of an object Fragsurf.Movement.SurfCharacter.Update () (at Assets/Modified fragsurf/Movement/SurfCharacter.cs:250)

All I have is Terrain and "Example player prefab" in my workspace. All inputs are set. When I press play, my character just teleports to the edge of the Terrain and gets stuck.