Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.0.1, 1.5.2
Issue ID
1179801
Regression
No
[SBP] Changes made in IProcessSceneWithReport callback during Calculate Dependencies step are saved when building Asset Bundles
How to reproduce:
1. Open the attached project ("case_1179801-IProcessSceneWithReportAssetBundleIssue.zip")
2. Build asset bundles (Test > Build AssetBundles)
3. Build and run the project
Expected results: Only one cube is loaded from the asset bundle
Actual results: Two cubes are loaded from the asset bundle
Reproducible with: 2018.4.8f1, 2019.2.5f1, 2019.3.0b2, 2020.1.0a3
Reproducible with package versions: 1.0.1, 1.5.2
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
- “ValidateSchema Error2” error is thrown in the Player when using IL2CPP Scripting Backend
- Symbolic links disappear when a .xcframework file is added through the Unity Editor
- Errors regarding importing occur upon opening a project when the "Library" folder is deleted
- MeshRenderer.sortingLayerID cannot be changed when change is being done in a built Player
- Warnings related to App Icon are being thrown when building project to VisionOS Platform
Resolution Note:
Building Scenes will call IProcessSceneWithReport twice per scene, once during dependency calculation and once during the final write. This is required and expected behavior.
IProcessSceneWithReport is called on all scenes loaded in Editor's Play Mode, including scenes loaded from Asset Bundles. This is expected behavior as well and has been the norm for years.