Search Issue Tracker

Fixed

Fixed in 1.19.0

Votes

2

Found in [Package]

1.17.0

Issue ID

BPSBP-90

Regression

No

[BuildPipeline] Script loses reference to ScriptableObject when loading Scene bundle built with ScriptableBuildPipeline

Package: Scriptable Build Pipeline

-

Steps to reproduce:
1. Download and open the project "Test.zip"
2. Add all the scenes in Assets/Scenes to Scenes In Build (File > Build Settings)
3. Open Assets/Scenes/TestScene.unity
4. Click on Build > SBP
5. Enter Play Mode
6. Once LoadedScene.unity is loaded, click on the Main Camera GameObject in "LoadedScene"
7. Notice the Inspector

Expected result: "Scriptable Obj Container" has a reference to "DirectRef" ScriptableObject
Actual result: "Scriptable Obj Container" does not have a reference to "DirectRef" ScriptableObject

Reproducible with: 2018.4.34f1, 2019.4.25f1, 2020.3.6f1, 2021.1.5f1, 2021.2.a015

Note:
"Scriptable Obj Container" does not lose reference to "DirectRef" ScriptableObject in the "Original" build (Build > Original)

  1. Resolution Note:

    Fixed in SBP 1.19.0

  2. Resolution Note (fix version 1.19.0):

    Resolved previous to port addition.

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.