How to reproduce:
- Open the attached "IN-150995" project
- In the menu bar, select "Bug Repro" > "AnimationPlayableOutput SetSortingOrder default handle" > "1. CrashSetSortingOrder"
- Observe the crash
Reproducible with: 6000.0.0f1, 6000.0.82f1, 6000.3.23f1, 6000.5.10f1, 6000.6.0b10, 6000.7.0a5
Reproducible on: Ubuntu 24.04 LTS, Ubuntu 26.04 LTS (by user), Windows 10 Pro
Not reproducible on: No other environments tested
Note: Also reproducible in batch mode (-batchmode -nographics -executeMethod AnimationPlayableOutputSetSortingOrderDefaultHandleRepro.CrashSetSortingOrder)
First few lines of the stack trace:
Caught fatal signal - signo:11 code:1 errno:0 addr:0x28
#0 0x0064f439f3854c in AnimationPlayableOutputExtensions_CUSTOM_InternalSetSortingOrder(HPlayableOutput const&, int)
#1 0x00000040bde7b4 in (wrapper managed-to-native) UnityEngine.Experimental.Animations.AnimationPlayableOutputExtensions:InternalSetSortingOrder_Injected (UnityEngine.Playables.PlayableOutputHandle&,int)
#2 0x00000040bde72f in UnityEngine.Experimental.Animations.AnimationPlayableOutputExtensions:InternalSetSortingOrder (UnityEngine.Playables.PlayableOutputHandle,int)
#3 0x00000040bde6fb in UnityEngine.Experimental.Animations.AnimationPlayableOutputExtensions:SetSortingOrder (UnityEngine.Animations.AnimationPlayableOutput,uint16)
#4 0x00000040bdd9d3 in AnimationPlayableOutputSetSortingOrderDefaultHandleRepro:CrashSetSortingOrder ()