Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2022.1.X
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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sprite Atlas remains loaded in memory after scene change or unloading assets
- Decompressing a DeflateStream under IL2CPP misses a few bytes
- Referred style sheet stays dirty after saving when using the UIBuilder
- The Height map Amplitude is not working when using HDRP/LayeredLit
- Infinite inertial tensor rotation values are not discarded (both AB and RB)
Resolution Note (fix version 2022.2):
Fixed crash that would occur on Play mode start after calling Marshal.GetCCW in Unity 2022.2.0a7 and later
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0b10