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
- “Exception: Unable to resolve the method” error is thrown when directly compiling a Burst-compiled method
- Selector gets stuck in UI if scroll is used while dragging
- Created asset is placed in a new folder when creating a new folder and instantly creating an asset by clicking somewhere else
- Selecting and deleting transition in Animator does not add to Undo History when animation is previewed in Inspector
- GameObjects remain static when updating constraints of PhysicsJoint with "Enable Sleeping" selected in Havok Physics Configuration
Resolution Note (fix version 1.20.2):
Fixed an issue where Scene build ordering would cause Scenes to not load.