Search Issue Tracker
Fixed
Fixed in 1.20.2
Votes
1
Found in [Package]
1.19.6
Issue ID
BPSBP-335
Regression
Yes
Asset bundles lose reference to Prefabs when Scenes are built in a specific order (ScriptableBuildPipeline)
Reproduction steps:
1. Open the attached "1410524.zip" project
2. Delete the "scenes.bundle" asset in the Assets > StreamingAssets
3. In the Build Settings window make sure that the Scenes are in the order: MainMenu, LoadingScene, BoatTrip
4. Go to Asset Bundles > Build Asset Bundle
5. Open the "MainMenu" Scene and enter the Play mode
6. Observe the Console window
Expected result: Public link to a Prebaf called "Player" isn't lost and the "The bug hasn't happened\!" error message appears
Actual result: Public link to a Prebaf called "Player" is lost and the "The bug has happened\!" error message appears
Reproducible with: 2021.1.0a7, 2021.2.16f1, 2022.1.0b12, 2022.2.0a9
Not reproducible with: 2019.4.36f1, 2020.3.31f1, 2021.1.0a6
Note: The issue is not reproducible when Scenes are in the order: MainMenu, BoatTrip, LoadingScene
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
- [macOS] Project fails to load when Virtual Artifacts are Corrupted
- Long scheduler times on main thread when using InstantiateAsync with a singular massive Prefab
- The project hangs upon opening it when importing the "discrete_rank2_vector_v2_0.onnx" file
- Opening the Look Dev hangs the Editor when the window is opened for the first time in the project or after deleting the Library folder
- Look Dev has blurry icons on 4k monitors
Resolution Note (fix version 1.20.2):
Fixed an issue where Scene build ordering would cause Scenes to not load.