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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
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)