Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.13.1
Issue ID
ADDR-1429
Regression
No
[Addressables] [iOS] DontDestroyOnLoad objcts are destroyed if Scene is located in Remote Group
Reproduction steps:
1. Open customer's attached project in "unity-addressables-bug.zip"
2. Build it for iOS
3. Make sure your iOS device has an internet connection
4. Deploy the application to your iOS device
5. Press "Load Scene 1" - Scene 1 is stored in Local Group
6. Notice \[1111, 2222] being printed in Xcode console (1111, 2222 are scriptable object names)
7. Restart the application via Xcode
8. Press "Load Scene 2" - Scene 2 is stored in Remote Group
Expected behaviour: the result will be the same as when loading the Scene from Local Group
Actual behaviour: DontDestroyOnLoad objects are destroyed, \[null, null] is printed in Xcode debugger
Reproducible with: Addressables 1.11.2 (2020.2.0a20), Addressables 1.13.1 (2018.4.26f1, 2020.2.0a20)
Could not test with Addressables 1.1.5 (2018.4.26f1), because the project breaks (seems like scene loader breaks)
Devices tested:
Reproducible with:
VLNQA00310 iPad Pro 12.9 1st gen (iOS 13.4.1)
VLNQA00204 iPhone 5C (iOS 10.3.3)
Could not test with (read note 2):
N/A, Samsung Galaxy S9 (SM-G960F), Android 8.0.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72
VLNQA00313, Huawei Y6 Ⅱ Compact (HUAWEI LYO-L01), Android 5.1, CPU: MediaTek MT6735, GPU: Mali-T720
VLNQA00015, Samsung Galaxy Note8 (SM-N950W), Android 8.0.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
Notes:
1. Not reproducible in Editor
2. Could not test with Android devices because Scene 2 does not load (error below in edits)
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
- FocusNextInDirection not focusing when used on multiline TextFields
- Single click calls UI Element renaming with a delay when clicked on the UI Element name
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
Resolution Note:
The situation is covered in the docs, see comments. The addressable team decided previously that this isn't something we're able to automatically support, but users are able to fix this problem with the options listed in the docs.