Closed Disappear9 closed 1 year ago
Version: 3.1.2 Log:
IndexOutOfRangeException: Index was outside the bounds of the array. d4rkAvatarOptimizer+<>c.<AnalyzeFXLayerMergeAbility>b__153_25 (UnityEditor.Animations.ChildAnimatorState s) (at Packages/d4rkpl4y3r.d4rkavataroptimizer/Editor/d4rkAvatarOptimizer.cs:1418) System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) (at <351e49e2a5bf4fd6beabb458ce2255f3>:0) d4rkAvatarOptimizer.AnalyzeFXLayerMergeAbility () (at Packages/d4rkpl4y3r.d4rkavataroptimizer/Editor/d4rkAvatarOptimizer.cs:1418) d4rkAvatarOptimizerEditor.OnInspectorGUI () (at Packages/d4rkpl4y3r.d4rkavataroptimizer/Editor/d4rkAvatarOptimizerEditor.cs:193) UnityEditor.UIElements.InspectorElement+<>c__DisplayClass58_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <a259d3c004024353a2c217da97495055>:0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Ok I could reproduce this. It is caused by having a layer int the FX controller that has 2 states. One of the states needs to have exactly 1 transition with 0 conditions.
Version: 3.1.2 Log: