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

  1. Resolution Note (fix version 2022.1.23f1):

    Fixed in: 2022.1.23f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.