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
- Shader warning in 'Hidden/Core/DebugOccluder' thrown after building High Definition 3D Sample Template
- Audio Mixer “+” buttons overlap with UI when the Audio Mixer window layout is set to Horizontal
- "Clear" button in the "Set project display name" closes all the pop-up instead of clearing just a name from the field
- Video Player renders no video on specific devices when using Vulkan
- The Editor slows itself down by showing tons of warnings when the majority of TransformAccessArrays content are NullRefs
Resolution Note (fix version 1.3.3):
This should be resolved with proper loading and instantiation through addressables.