Search Issue Tracker

Active

Votes

0

Found in

2020.3

2021.1

2021.1.1f1

2021.2

2022.1

Issue ID

1351182

Regression

No

Freeze/Crash on DllCanUnloadNow when compiling while reading a file

Mono

-

Reproduction steps:
1. Open the attached user project ("Code Visuals")
2. Replace 'Assets/Scripts/Showey/CompositeController_s.cs' with the provided script
3. Enter Play mode
4. Make some changes in a script and load the provided 'test.show' file before compilation starts

Expected result: The Editor does not crash and the file gets loaded successfully
Actual result: The Editor crashes

Reproducible with: 2020.3.15f2, 2021.1.16f1, 2021.2.0b6, 2022.1.0a4
Can't test with: 2018.4.36f1, 2019.4.29f1 (Downgrading issues)

Note:
1. On macOS the Editor freezes instead of crashing

Stack trace:
0x00007FFE71BB6189 (comdlg32) DllCanUnloadNow
0x00007FFE5D20E524 (comctl32) DPA_DestroyCallback
0x00007FFE71B9910D (comdlg32) PrintDlgW
0x00007FFE71B98BB4 (comdlg32) PrintDlgW
0x00007FFE71B982E0 (comdlg32) PrintDlgW
0x00007FFE71B76C17 (comdlg32) GetFileTitleW

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.