Search Issue Tracker

In Progress

Fixed in 6000.0.38f1, 6000.1.0b6, 6000.2.0a3

Fix In Review for 2022.3.59f1

Votes

0

Found in

2022.3.57f1

6000.0.34f1

6000.1.0b1

6000.2.0a1

Issue ID

UUM-92603

Regression

No

Crash on EditorUtility_CUSTOM_NaturalCompareObjectNames when selecting the Animation Clip Selection Menu with a specific animation clip open

-

How to reproduce:
1. Open the “CrashRepro“ project
2. Open the “Assets/00Scenes/AnimationTesting1/AnimationTesting1.unity“ Scene
3. Open the Animation window (Window > Animation > Animation)
4. Select the “RippleSphere“ GameObject from the Hierarchy
5. Select the “RippleSphere 01”, below the Preview button

Reproducible with: 6000.0.34f1, 6000.1.0b1
Couldn’t test with: 2021.3.47f1, 2022.3.56f1 (Errors in the Console)

Reproducible on: macOS 15.2 Sequoai (Intel), Windows 10 (reported by user)
Not reproducible on: No other environment tested

First few lines of stack trace:
0x00007FFC07D30966 (Unity) EditorUtility_CUSTOM_NaturalCompareObjectNames
0x0000027895E923E8 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.EditorUtility:NaturalCompareObjectNames_Injected (intptr,intptr)
0x0000027895E9228B (Mono JIT Code) UnityEditor.EditorUtility:NaturalCompareObjectNames (UnityEngine.Object,UnityEngine.Object)
0x0000027895E9210B (Mono JIT Code) UnityEditor.AnimationWindowClipPopup/<>c:<GetOrderedClipList>b__8_0 (UnityEngine.AnimationClip,UnityEngine.AnimationClip)
0x00000277B052A081 (Mono JIT Code) System.Collections.Generic.ArraySortHelper`1<T_REF>:SwapIfGreater (T_REF[],System.Comparison`1<T_REF>,int,int)

  1. Resolution Note (fix version 6000.2.0a3):

    This crash would occur when opening the clip selection popup in the Animation Window when selecting a game object containing an Animation Clip Source that returns a list of Animation Clips containing null references. For this particular case, this occurred when opening the clip selection popup on a game object with an AnimancerComponent which contained a null reference in its list of clips. This was prevented by updating the AnimationUtility.GetAnimationClips method to prune any null references found when fetching clips from all Animation Clip Sources on a game object.

  2. Resolution Note (fix version 6000.1.0b6):

    This crash would occur when opening the clip selection popup in the Animation Window when selecting a game object containing an Animation Clip Source that returns a list of Animation Clips containing null references. For this particular case, this occurred when opening the clip selection popup on a game object with an AnimancerComponent which contained a null reference in its list of clips. This was prevented by updating the AnimationUtility.GetAnimationClips method to prune any null references found when fetching clips from all Animation Clip Sources on a game object.

  3. Resolution Note (fix version 6000.0.38f1):

    This crash would occur when opening the clip selection popup in the Animation Window when selecting a game object containing an Animation Clip Source that returns a list of Animation Clips containing null references. For this particular case, this occurred when opening the clip selection popup on a game object with an AnimancerComponent which contained a null reference in its list of clips. This was prevented by updating the AnimationUtility.GetAnimationClips method to prune any null references found when fetching clips from all Animation Clip Sources on a game object.

  4. Resolution Note (fix version 2022.3.59f1):

    This crash would occur when opening the clip selection popup in the Animation Window when selecting a game object containing an Animation Clip Source that returns a list of Animation Clips containing null references. For this particular case, this occurred when opening the clip selection popup on a game object with an AnimancerComponent which contained a null reference in its list of clips. This was prevented by updating the AnimationUtility.GetAnimationClips method to prune any null references found when fetching clips from all Animation Clip Sources on a game object.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.