Search Issue Tracker

Fixed

Votes

5

Found in [Package]

1.7.4

Issue ID

ADDR-1247

Regression

Yes

[Addressables] Scene loses reference to a texture in a Build when unloading and loading a scene using Addressables

Package: Build Pipeline - Addressables

-

How to reproduce:
1. Open user's attached "AddressablesTest" project
2. Build And Run the project (File->Build And Run)
3. When the Build is running press "Go to menu" button

Expected result: Background image is loaded
Actual result: Background image is not loaded

Reproducible with: 1.1.5, 1.4.0, 1.7.4, 1.9.2 (2018.4.23f1, 2019.3.15f1, 2020.1.0b11, 2020.2.0a13)
Not reproducible with: 1.5.0, 1.6.2 (2018.4.23f1, 2019.3.15f1, 2020.1.0b11, 2020.2.0a13)
Could not test with: 2017.4.40f1 because Addressables package was not introduced, 2018.3.14f1 because of namespace errors

Notes:
- Works fine in Editor
- The initial scene loads the menu Scene which has the texture loaded correctly but when switching to another Scene (and switching back to the menu Scene from the other one) the texture seems to load as white.
- In 1.9.2 before building open Addressables Group (Window->Asset Management->Addressables->Group) and in that window press Build->New Build->Default Build Script, otherwise Nullreference error will be thrown in the Build

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.