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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
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