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
- Non-standard error icon is used in Shader Graph
- GameObject drops to the last position in the Hierarchy when a RectTransform Component is added
- 'NullReferenceException' error is thrown when the Tutorials window is closed and the "Welcome Dialog" is pressed
- Mouse Postion can become max value or infinity when using touch input with Legacy Input Module
- Crash on RaiseException when creating a multiplayer room while toggling UI
Resolution Note (fix version 1.3.3):
This should be resolved with proper loading and instantiation through addressables.