How to reproduce:
1. Open the project “IN_20944“
2. Open “IN-20944_Crash Scene” Scene
3. Press File → Build Settings → Build
4. Run the Build
5. Close the player window
Expected result: the Player doesn’t crash
Actual result: the Player crashes
Reproducible with: 2021.2.11f1, 2021.3.10f1, 2022.1.22f1
Not reproducible with: 2020.3.41f1, 2021.2.10f1, 2021.3.11f1, 2021.3.13f1, 2022.2.0b14, 2023.1.0a18
Reproducible on: Windows 10 Pro
Note: couldn’t test when pressing “Build And Run” due to compiler errors
First line of the stack trace:
0x00007FFD0344A3D9 (UnityPlayer) (function-name not available)
0x00007FFDBFA9E858 (USER32) CallWindowProcW
0x00007FFDBFA9E3DC (USER32) DispatchMessageW
0x00007FFDBFAB0C03 (USER32) SendMessageTimeoutW