Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

1.9.2

Issue ID

ADDR-1301

Regression

No

[Mobile][Addressables] Loading an addressable scene causes the application to freeze when engine code stripping is turned on

Package: Build Pipeline - Addressables

-

How to reproduce:
1. Open the user-supplied project "unity-addressables-engine-stripping-bug.zip"
2. Build the "LoaderScene" Scene for iOS and launch it on a device
3. Tap the "Load addressable scene" button

Expected result: the Addressable scene loads
Actual result: the scene either does not load or freezes in the first frames and an error is thrown in Xcode

Reproducible with: 2018.4.24f1, 2019.4.2f1, 2020.1.0b14, 2020.2.0a16 (Addressables 1.9.2, 1.10.0)
Could not test with: Addressables 1.1.3-preview-1.8.4 due to a MissingMethodException

Reproduces on:
VLNQA00160 iPhone 6S iOS 13.3.1

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

Notes:
1. The full Xcode error:

Could not produce class with ID 95.
This could be caused by a class being stripped from the build even though it is needed. Try disabling 'Strip Engine Code' in Player Settings.

(Filename: Line: 1531)

GameObject contains a component type that is not recognized

(Filename: Line: 1012)

Unloading 4 Unused Serialized files (Serialized files now loaded: 2)
Could not produce class with ID 245.
This could be caused by a class being stripped from the build even though it is needed. Try disabling 'Strip Engine Code' in Player Settings.

(Filename: Line: 1531)

  1. Resolution Note:

    This is not an addressables issue. The Link.XML is being generated with the right variables. We suggest that the scripting team look into this issue.

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.