Search Issue Tracker

Fixed in 1.18.2

Votes

1

Found in [Package]

1.17.17

Issue ID

1332720

Regression

Yes

IL2CPP Build fails when GameObject has Script attached and Addressables are built

Package: Addressables

-

How to reproduce:
1. Open the attached project "Bug.zip"
2. From the Project window, open Assets/IndoorsScene.unity
3. Open Window>Asset Management>Addresables>Groups
4. Build>New Build>Default Build Script
5. Build And Run the project

Expected result: Build is successful
Actual result: Build is failed with the error "UnityEditor.dll assembly is referenced by user code, but this is not allowed."

Reproducible with: 1.17.17 (2021.2.0a13)
Not reproducible with: 1.17.17 (2021.2.0a12), 1.17.17, 1.18.2 (2018.4.35f1, 2019.4.26f1, 2020.3.8f1, 2021.1.6f1, 2021.2.0a16)

  1. Resolution Note (fix version 1.18.2):

    Fixed in: 1.18.2 (2018.4.35f1, 2019.4.26f1, 2020.3.8f1, 2021.1.6f1, 2021.2.0a16)

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.