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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
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)