2D Toolkit Forum

2D Toolkit => Support => Topic started by: zggame on March 25, 2015, 08:26:19 am

Title: [FIXED]animator :IndexOutOfRangeException: Array index is out of range.
Post by: zggame on March 25, 2015, 08:26:19 am
problem 1: clip dropdown of sprite animator shows some clips that have been removed.
problem 2: animation lib may not show in the Anim Lib dropdown list.
problem 3: switch clip may fail with error: IndexOutOfRangeException: Array index is out of range.   maybe is also caused be problem 1.

ps: we use about 100 collections and anim Libs

FIX EDIT:
all problems caused by script created Animation with clip frame count is 0.(not show up in AnimationEditor but show in Anim Lib drop down list)
Title: Re: change clip in animator :IndexOutOfRangeException: Array index is out of range.
Post by: unikronsoftware on March 25, 2015, 09:12:34 am
Does it happen when you switch to any of the libs?
What version of Unity / 2D Toolkit?