AnimationSync suddenly throwing out error after no changes?

Options
Hi,
I have an enemy that uses the AnimationSync component. I've had no issues with this and it has been working over the network. Recently today, they just started throwing an error. I've actually been testing all day today and this hasn't appeared before!

I have the same component on my players working fine and not throwing an error.

IndexOutOfRangeException: Index was outside the bounds of the array.
Photon.Pun.Simple.SyncAnimator.CaptureParameters (Photon.Pun.Simple.SyncAnimator+Frame frame) (at Assets/Photon/Simple/Components/SyncAnimator/SyncAnimator.cs:785)

When I click the error, it actually takes me to the Net Master in the Hierarchy, I know it's the enemies causing it though.

Comments

  • BakerrYo
    Options
    Hi, I managed to fix this. For anybody that gets a weird issue like this.
    It seems my prefab added a 'netobject' component that I was instantiating with the object.
    I removed it (so the netobject component would be created on creation) and it fixed.