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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
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.