Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Observe the Console window
5. Exit the Play Mode
Expected result: The Editor continues to run
Actual result: Editor stops responding and no Stacktrace is output
Reproducible with: 2022.3.16f1, 2022.3.17f1, 2023.3.0a18, 2023.3.0b1
Not reproducible with: 2021.3.33f1, 2022.3.15f1, 2023.2.4f1, 2023.3.0a17
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- Error “TLS Allocator ALLOC_TEMP_THREAD, underlying allocator ALLOC_TEMP_THREAD has unfreed allocations” is repeatedly output when in Play Mode
- According to user, this also reproduces on mobile devices