(my “rb” is the rigid body from the original unity project)
these are the errors I get.
NullReferenceException: Object reference not set to an instance of an object PlayerController.FixedUpdate () (at Assets/Scripts/PlayerController.cs:45)
FMOD Studio: Instance of Event event:/Movement found playing at the origin. EventInstance.set3DAttributes() should be called on all 3D events UnityEngine.Debug:LogWarningFormat(String, Object)
So this leads me to believe that somehow the project supplied with the tutorials have something already set up, however I can’t see exactly where it is.
Another thing, that when I take out the line above my “movement” sound is triggered from the “ambience emitter” and not the player… seems really strange, seeing as how I am copying the code line for line and nothing was mentioned about how to set it up otherwise in the videos.
I tried some other code. still doesn’t work. still gives me the same error
“Object reference not set to an instance of an object PlayerController.FixedUpdate () (at Assets/Scripts/PlayerController.cs:45)”