Search Issue Tracker
By Design
Votes
0
Found in
2022.3.56f1
6000.0.35f1
6000.1.0b3
Issue ID
UUM-95499
Regression
No
[General] Terminate Unity Player is never executed when an infinite loop that increments an integer is running in IL2CPP without sleep
Reproduction steps:
1. Open the attached project "ReproProj"
2. Build and Run
3. Attempt to close the Player
Expected result: The Player closes successfully without hanging
Actual result: The Player gets stuck unresponsive and does not close
Reproducible with: 2022.3.56f1, 6000.0.35f1, 6000.1.0b3
Reproducible on:
Windows Standalone Player
Not reproducible on:
Play Mode
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Note:
- Only reproducible with IL2CPP and is not reproducible with Mono
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
IL2CPP currently relies on all managed threads shutting down at player exit. If a thread is in an infinite loop it will prevent the player from exiting.