Search Issue Tracker
Fixed in 1.3.3
Votes
0
Found in [Package]
1.1.7
Issue ID
1184547
Regression
Yes
[Addressables] DontDestroyOnLoad() GameObjects lose their fields and references when switching a Scene during play mode
How to reproduce:
1. Open the "Init" Scene in the user attached project
2. Enter play mode
3. When "TestScene" loads, click on "Test 1" button
4. Wait for "TestScene2" to load
5. Click on "Test 1" button again
6. Check the Console window
Expected results: The output is "True" in both cases
Actual results: The output is "False" in "TestScene2"
Reproducible with: 2018.4.9f1, 2019.2.7f2, 2019.3.0b4, 2020.1.0a5 (package ver. 1.1.7 - 1.2.4)
Additional note: The project on Unity 2017.4.32f1 could not be tested due to missing Addressables package
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
- Gradient Editor window bottom-right gradient marker color is incorrect
- MaskField tooltips should only display Value when bound
- Reordering Enum Values in VFX Graph Uint Property expands the “Value” field
- Visual Effect Graph sample titles display in non-human-readable format
- UxmlNamespacePrefix does not apply when using UIBuilder documents
Resolution Note (fix version 1.3.3):
This should be resolved with proper loading and instantiation through addressables.