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
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)
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
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
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)