Search Issue Tracker
Fixed
Votes
0
Found in
2022.3.57f1
6000.0.37f1
6000.1.0b5
6000.2.0a2
Issue ID
UUM-96998
Regression
No
Crash on EditorUtility_CUSTOM_NaturalCompareObjectNames in Animation Window when selecting AnimationClipSource with a missing AnimationClip
How to reproduce:
1. Open the attached “IN-92494.zip” project
2. Open the “SampleScene”
3. In the Hierarchy window, select the “GameObject”
4. Open the Animation window (CTRL + 6 shortcut)
5. Click on the Animation Clip dropdown in the top left of the window
6. Observe the crash
Reproducible in: 2022.3.57f1, 6000.0.37f1, 6000.1.0b5, 6000.2.0a2
Reproducible on: Windows 11
Not reproducible on: No other environments tested
First few lines of stacktrace:
{noformat}0x00007FFB341828F6 (Unity) EditorUtility_CUSTOM_NaturalCompareObjectNames
0x000002721D37FE1D (Mono JIT Code) (wrapper managed-to-native) UnityEditor.EditorUtility:NaturalCompareObjectNames_Injected (intptr,intptr)
0x000002721D37FD53 (Mono JIT Code) UnityEditor.EditorUtility:NaturalCompareObjectNames (UnityEngine.Object,UnityEngine.Object)
0x000002721D37FBEB (Mono JIT Code) UnityEditor.AnimationWindowClipPopup/<>c:<GetOrderedClipList>b__8_0 (UnityEngine.AnimationClip,UnityEngine.AnimationClip)
0x0000027168640FB1 (Mono JIT Code) System.Collections.Generic.ArraySortHelper`1<T_REF>:SwapIfGreater (T_REF[],System.Comparison`1<T_REF>,int,int)
0x00000271686409CB (Mono JIT Code) System.Collections.Generic.ArraySortHelper`1<T_REF>:IntroSort (T_REF[],int,int,int,System.Comparison`1<T_REF>){noformat}
Note: In 2022.3, it’s also necessary to add an Animator component to the “GameObject” for the dropdown to show up in the Animation Window
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Property field override bar does not update transparency correctly when switching between valid and invalid GameObjects
- Project window selection is not updated when search term is changed
- Error when adding valid MonoBehaviour script to Prefab in Project window
- Editor Launch Screen will close when Enter is pressed on it
- ObjectPool's pool is destroyed when entering Play Mode without reloading Domain
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-92603