Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.3
2020.1
2020.2
Issue ID
1237094
Regression
No
An existing Scene gets overwritten when importing a Custom Package
Repro steps:
1. Open the attached project "import-overwrite.zip"
2. Note that the scene "SampleScene2.unity" is empty and open scene "SampleScene.unity"
3. In the Editor, go to Assets > Import Package > Custom Package
4. Import the attached package "SampleScene2.unitypackage"
Expected results: importing "SampleScene2.unitypackage" either creates a new scene with three cubes in it, or it is possible to choose "SampleScene2.unity" in the Import Unity Package window so that an empty scene would be overwritten instead of a filled one
Actual results: it is impossible to choose "SampleScene2.unity" in the Import Unity Package window, the imported package irreversibly overwrites "SampleScene.unity" and instead of three spheres, three cubes are now seen
Reproducible with: 2018.4.0f1, 2018.4.23f1, 2019.3.0a1, 2019.3.14f1, 2020.1.0a1, 2020.1.0b9, 2020.2.0a1, 2020.2.0a11
Notes:
- Importing "SampleScene.unitypackage" changes "SampleScene.unity" back to a scene containing three spheres so that the issue would stay visible
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
- Errors "InvalidOperationException: Trying to use a texture (_InternalGradingLut)..." and “Render Graph Execution error” shown and Scene turns black when 16 or more Render Objects are used
- GameObjects in the Game View are rendered differently than in the Scene View when the Rendering Path is set to "Deferred" and Screen Space Shadows Renderer Feature is added
- Errors “InvalidOperationException: Trying to use a texture (_CameraDepthTexture)...” and “Render Graph Execution error” shown when selecting GameObjects with Mesh Renderer from the Hierarchy
- macOS stutters in a minimal project
- [Usability] HDRP Wizard calls for VR fixes when opening the HDRP Wizard a second time after they have already been applied and the Wizard has finished checking
Resolution Note:
In the import window, the iconography + tooltip indicate to the user that the existing file has changed.