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
- “FMOD failed to set the software format to the custom sample rate…” warnings are thrown as System Sample Rate value is being changed in Audio section of Project Settings window
- VFX Marquee selection does match the visual indicator
- “Invalid AABB aabb” errors are spammed when “Infinity” value is entered in Collider Component fields
- Editor Role does not sync with the MPPM Play Mode Scenario Role when entering Play mode
- Long asset names cause overlap with the “Find” function in search result tabs
Resolution Note (fix version 1.3.3):
This should be resolved with proper loading and instantiation through addressables.