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
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
- Hinge Joint transforms are reset when toggling the "useMotor" property
- Motion Vector texture reports incorrect Mesh data when Mesh is coming from off-screen
- [macOS] Display flickers with bright colors when built Player uses 2 or more Displays
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