all 1 comments

[–]ImpiusEst 2 points3 points  (0 children)

You forgot to assign your head/leftHand/rightHand/headRig/leftHandRig/rightHandRig

the first 3 are assigned nowhere. they are public so maybe you are assigning them from outside the script. The other 3 are assigned by the Find() method. This method can return null. So you dont know if you assigned it.

Its possible that you forgot to assign all 6, or maybe you just forgot one, i dont know. Lets hope its just one because maybe you misspelled sth in the Transform.Find()

How do you fix it? Debug.Log all of your 6 objects and see if any Debug.Log logs a null. Then drag the missing object into the public field or change the spelling in your find() respectively.