Reproduction steps:
1. Open the attached "crash_IN-64670" project
2. Open the "/Assets/Scene.unity"
3. Enter the Play Mode
4. Quit the Play Mode
5. Press the right mouse button on the "App" Script
6. Select "Reimport"
7. Enter the Play Mode
8. Observe the crash
Reproduced with: 2021.3.34f1, 2022.3.17f1, 2023.2.6f1, 2023.3.0b3
Reproduced on: Windows 10 (22H2)
Not reproduced on: No other environments tested
Note: Not able to test if reproducible in Player because it’s not possible to reload a domain while running a compiled executable
First few lines of the stack trace:
0x00007ff62898bd39 (Unity) CallbackArray::Invoke
0x00007ff62961a05c (Unity) UnloadDomain
0x00007ff62960ba73 (Unity) MonoManager::CreateAndSetChildDomain
0x00007ff62960a786 (Unity) MonoManager::BeginReloadAssembly
0x00007ff6296142a7 (Unity) MonoManager::ReloadAssembly