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
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
Resolution Note (fix version 1.3.3):
This should be resolved with proper loading and instantiation through addressables.