Search Issue Tracker
Duplicate
Duplicate in 2022.2.X
Votes
0
Found in
2022.2.4f1
Issue ID
UUM-24894
Regression
No
[Asset Bundles] Saving a scene that is within a bundle causes the scene to be removed from the bundle
Steps to reproduce:
1. Open the attached user's project "SavingRemovesAssetBundle.zip" and open the "SampleScene" located in "Assets/Scenes"
2. Open the Asset Bundle Browser tool located at "Windows -> AssetBundle Browser"
3. Select "SampleScene" in the project view
4. In the "SampleScene" Inspector, click the AssetBundle dropdown, create a new bundle and add "SampleScene" to it
5. Navigate to the AssetBundle Browser and click the Refresh button in the top left. Now note that the bundle you created is listed, and if clicked on, "SampleScene" is listed in the bundle
6. In the open scenes Hierarchy, right-click the root of the scene and select the "Save Scene" option
7. After the save has finished, click on "SampleScene" in the Project view and note that the Asset Bundle section of its Inspector has been returned to "None"
8. Navigate to the AssetBundle Browser and click the refresh button. Note that the SampleScene is no longer inside the bundle
Expected results: You can edit and save the scene and it shall remain inside the asset bundle it is assigned to
Actual results: If you save the open scene, then it shall remove itself from the assigned asset bundle, requiring the user to manually add the scene back to the said bundle
Reproducible on: 2022.1.0a1, 2022.2.2f1, 2023.1.0a20
Not reproducible on: 2020.3.44f1, 2021.3.17f1, 2022.1.24f1, 2023.1.0a21, 2022.2.3f1, 2023.1.0a25
Notes:
- You can find a video attached (BugReproduction.mov) to this report showing the reproduction of the issue.
- In 2023.1 this warning is outputted in the Console Window:
Importer(DefaultImporter) generated inconsistent result for asset(guid:9fc0d4010bbf28b4594072e72b8655ab) "Assets/Scenes/SampleScene.unity"
UnityEditor.GenericMenu:CatchMenu (object,string[],int)
-
Resolution Note:
null
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-18045 -
Resolution Note (2022.2.X):
null
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-18045
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
This is a duplicate of issue #UUM-18045