Search Issue Tracker
Won't Fix
Votes
1
Found in
5.5.0p3
Issue ID
867683
Regression
Yes
Calling AssetDatabase.ImportPackage() crashes the Editor when implemented in a method with attribute DidReloadScripts
Steps to reproduce:
1. Open the attached project (ImportPackage Test.zip)
2. Open Assets/Editor/ImportPackageTest.cs and comment line 7 ([DidReloadScripts])
3. Return to Unity and allow scripts to reload
4. Open Assets/Editor/ImportPackageTest.cs and uncomment line 7 ([DidReloadScripts])
5. Return to Unity and allow scripts to reload
5. Observe the crash
Expected result: Unity should not crash
Actual result: Unity crashes
Note:
Issue does not occur with the Mac editor of the same version
Reproduced with: 5.5.0b8, 5.5.0f3, 5.5.0p3, 5.5.0p4, 5.6.0b3
Not reproduced with: 5.3.7p3, 5.4.3p4, 5.4.4p1, 5.5.0b7
Regression introduced in 5.5.0b8
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
Add comment