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
- Performance Markers Search window shows an empty entry in the list
- Enabling Deep Profiling in Performance Markers Search window breaks Inspector panel buttons when navigating through the marker items
- Dragging selector from selector row background shows preview but does not apply class in UI Builder
- An "InvalidOperationException" error is thrown when TryRemoveItem is used with rebuildTree set to false
- Build fails with IL2CPP error when building on Android platform in a specific project
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.23f1