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
Comments (1)
-
Peter77
Sep 05, 2019 16:28
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
- Addressables content build fails but the Player build is successful when building a development build
- 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
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.