How to reproduce:
1. Open the project “IN-99335_Deoptimize”
2. Enter Play Mode
3. Observe the Hierarchy → “Character_Gun_DeoptimizedClone”
Expected result: Should not contain extra “Body” and “Head” nodes without SkinnedMeshRenderer
Actual result: Contains “Body” and “Head”, both without SkinnedMeshRenderer
Reproducible with: 2022.2.0a5, 2022.3.61f1, 6000.0.48f1, 6000.1.1f1, 6000.2.0a10
Could not test with: 2022.2.0a2 (Visual Studio Editor “ScriptCompilerOptions” errors)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
- AnimatorUtility.DeoptimizeTransformHierarchy() is being called by the Deoptimizer.cs script
- If any Package issues appear, you can remove all packages