So, I was about to make an animation to my knife. (Attack) And I clicked on my knife, did go to animation tab and then, it was kinda stuck and this was how the window looked:
![alt text][1]
When I clicked an other object, it worked just like normal.
The console log looked like this:
![alt text][2]
And says:
IndexOutOfRangeException: Array index is out of range.
UnityEditor.AnimationSelection.GetClipAtIndex (Int32 index) (at C:/BuildAgent/work/7535de4ca26c26ac/Editor/Mono/Animation/AnimationSelection.cs:111)
UnityEditor.AnimationSelection.RefreshChosenClip (.SerializedStringTable chosenClip) (at C:/BuildAgent/work/7535de4ca26c26ac/Editor/Mono/Animation/AnimationSelection.cs:198)
UnityEditor.AnimationSelection..ctor (UnityEngine.GameObject[] animatedOptions, .SerializedStringTable chosenAnimated, .SerializedStringTable chosenClip, UnityEditor.AnimationWindow editor) (at C:/BuildAgent/work/7535de4ca26c26ac/Editor/Mono/Animation/AnimationSelection.cs:142)
When I click the error this opens in inspector:
![alt text][3]
[1]: http://www.imagesup.net/?di=1313735657724
[2]: /storage/temp/13038-erro02.png
[3]: http://www.imagesup.net/di-913735657166.png
Any solutions? It happens often to me.
Thanks in advance..
- Zunor
↧