KybernetikGames / animancer

Documentation for the Animancer Unity Plugin.
63 stars 8 forks source link

ManualMixerState shows slightly inaccurate IndexOutOfRangeException #350

Closed mpeelen closed 6 days ago

mpeelen commented 3 months ago

Environment

Description

Calls to ManualMixerState.Set(int index, AnimancerState child, bool destroyPrevious) yield a slightly inaccurate IndexOutOfRangeException.

In case of index == _ChildCount the message reads: $"Invalid child index. Must be 0 <= index <= {nameof(ChildCount)} ({ChildCount})}".

I ended up replacing the above message with $"Invalid child index {index}. Must be 0 <= index < {nameof(ChildCount)} ({ChildCount}).".

KybernetikGames commented 3 months ago

You are correct, thanks for letting me know. This will be fixed in the next version.

KybernetikGames commented 1 month ago

Animancer v8.0 is now available for Alpha Testing and includes this fix..

KybernetikGames commented 6 days ago

Animancer v8.0 is now fully released.