Search Issue Tracker


Fixed in 1.20.2



Found in [Package]


Issue ID




Asset bundles lose reference to Prefabs when Scenes are built in a specific order (ScriptableBuildPipeline)

Package: Content Build & Load


Reproduction steps:
1. Open the attached "" 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

  1. Resolution Note (fix version 1.20.2):

    Fixed an issue where Scene build ordering would cause Scenes to not load.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.