Steps to reproduce:
1. Open the attached “IN-151096“ project
2. In the menu bar, select “Bug Repro” and choose one of the methods:
- Get Parent Bone with Out-of-Range Index
- Required Bone with Out-of-Range Index
3. 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, MacOS 26.5 (M1)
Not reproducible on: No other environments tested
First few lines of the stack trace:
#0 0x00744d00845330 in (Unknown)
#1 0x005824cf0043bf in HumanTrait::GetBoneIndexFromMono(int)
#2 0x005824cf0baa24 in HumanTrait_CUSTOM_GetBoneIndexFromMono(int)
#3 0x00000041d02dac in (wrapper managed-to-native) UnityEngine.HumanTrait:GetBoneIndexFromMono (int)
#4 0x00000041d02cef in UnityEngine.HumanTrait:GetParentBone (int)