Reproduction steps:
1. Open the attached project “CrashAnimCtrlOverride”
2. Open “Assets/Scenes/SampleScene.unity”
3. Enter the Play Mode
Expected result: Enter the Play Mode
Actual result: Editor Crashes
Reproducible with: 2020.3.46f1, 2021.3.21f1, 2022.2.12f1, 2023.1.0b9, 2023.1.0a7
Reproducible on: Windows 10
Note: If the Editor does not crash, duplicate prefabs in the scene.
First few lines of the Stack Trace:
0x00007FFC6F5CF646 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-runtime.c:3264] mono_jit_runtime_invoke
0x00007FFC6F518584 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3066] do_runtime_invoke
0x00007FFC6F518695 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3113] mono_runtime_invoke