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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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