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
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
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.