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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-92603