Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2019.4
2020.1
2020.2
2021.1
2021.1.0b2
2021.2
2022.2
Issue ID
1305962
Regression
No
Editor crashes if Unity is closed in the middle of exporting package
The editor crashes because of closing the editor while exporting a package.
It crashes because we try to access a reference to AsyncReadManager that was already set to null during an earlier call to Application.Shutdown() from TickPackageImport().
Investigation notes and call stacks here:
https://docs.google.com/document/d/1MU7tM7J-D4glUC83AYwpi2aQmUwHomUVYDElhTZh7g8/edit
Steps to reproduce:
1) Create a new project.
2) Add a large number of assets to your project, e.g. by importing a big package from the asset store.
4) Right Click in Project > Export package. Export all assets.
5) Wait for the progress window to display the text "Compressing Package...".
6) Right Click Unity from taskbar > Close the Unity Editor Window.
Actual Result: Editor crashes after the package is exported
Expected result: Editor should not crash on closing the window
Occurring on: 2022.2.0a6, 2021.2.0a1, 2021.1.0b2, 2020.2.2f1, 2020.1.10f1, 2019.4.12f1
Environment: Only on Windows
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
Add comment