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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
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)