When I run this script
void OnTriggerEnter (Collider other)
{
print(“should TZ now”);
foreach(AnimationClip ac in myAnimator.runtimeAnimatorController.animationClips)
{
print(ac.name);
}
}
I get this on the console:
and the foreach line gets the null reference exception.
There are no problems in single player mode, this only occurs on the network. Can anyone explain this to me? Thanks in advance for your patience.