Search Issue Tracker
Fixed in 2020.3.40f1
Fixed in 2020.3.X, 2021.3.X, 2022.1.X, 2022.2.X, 2023.1.X, 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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.23f1