After I had imported a new asset from the asset store (Unistorm) I wasn’t able to do
transform.GetComponent(CharacterMotor) anymore. I also reloaded a scene which might have something to do with it.
The variable which I’m trying to set just stays empty
So now my game is kind of unplayable!
Hopefully somebody has an answer to this?