Search Issue Tracker
Fixed
Fixed in 2020.3.40f1, 2021.3.11f1, 2022.1.23f1, 2022.2.0b11, 2023.1.0a9
Votes
0
Found in
2021.3.6f1
2022.1.10f1
2022.2.0b1
2023.1.0a4
Issue ID
UUM-10374
Regression
Yes
Crash in GetMonitorAndThrowIfNotLockedByCurrentThread when running the project repeatedly and using IL2CPP
Reproduction steps:
1. Open the user’s attached project
2. Build the project
3. Run the project through the terminal until the exit code is non-zero. Commands for cygwin:
while ./taskmanager-shutdown -logFile - -batchmode; do :; done
Expected result: The project runs repeatedly until stopped
Actual result: The project crashes
Reproducible with: 2021.2.0b8, 2021.2.19f1, 2021.3.6f1, 2022.1.10f1, 2022.2.0b1, 2023.1.0a4
Not reproducible with: 2020.3.37f1, 2021.2.0b7
Reproducible on: Windows 11
Notes:
- sometimes while crashing the bug reporter is thrown, other times terminal stops running the project and a crash dump file is generated in %LOCALAPPDATA%/CrashDumps
- the exception seems to be thrown from GetMonitorAndThrowIfNotLockedByCurrentThread
- 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
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
Resolution Note (fix version 2022.1.23f1):
Fixed in: 2022.1.23f1