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

Package: Build Pipeline - Addressables

-

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)

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.