Well, adding a rigidbody did ‘fix’ the problem. The error stopped popping up but I literally have no idea where I am even calling the Zombie Stink’s rigidbody. And the fact that it takes me to line 52 is even more boggling.
Anyways, about the other error, Unity states in the doc that the error will only appear in this scenario:
However, the transform has 5 children as can be seen in the Zombie prefab images above. Also, in my code, I am not using an index argument that has a value larger than the number of children. Or is the problem coming from this snippet of code from another script in the game:
Is the message repeatedly being sent since the health is less than 60 and particle collisions still happen? The arms still fall as expected.