Search Issue Tracker
Fixed in 14.0.2
Fixed in 12.1.7, 13.1.8
Votes
0
Found in [Package]
14.0.0
Issue ID
1391567
Regression
No
[URP][IL2CPP] Build fails with "BuildFailedException" and Bee Library errors when building with IL2CPP Scripting Backend enabled
Reproduction steps:
1. Open the attached Unity project "URP Testing.zip"
2. Go to File > Build Settings
3. Switch to Android Platform and Build the project
4. Observe errors appear in the Console window
Expected result: The Build is successful
Actual result: The Build fails, errors are thrown in the Console window
Reproducible with: 12.1.4 (2021.2.11f1), 13.1.5 (2022.1.0b6), 14.0.0 (2022.2.0a3)
Could not test with: 2019.4.35f1, 2020.3.27f1 (Errors in the Console after downgrading the project)
Notes:
- Issue is reproducible when building for Android, Mac/Windows Standalone
- Issue is not reproducible when building for iOS
- Issue is not reproducible when building with Mono Scripting Backend selected
- If the Universal RP package is removed from the project, the project breaks, pink textures in the Scene view and Game view
- Errors in the Console window:
"BuildFailedException: Incremental Player build failed!"
"Building Library/Bee/artifacts/Android/19qtv/gtk0_bly-CSharp.o failed with output:
/Users/*user name*/*project path*/*project name*/Library/Bee/artifacts/Android/il2cppOutput/cpp/Assembly-CSharp.cpp(2275,9): error: assigning to 'void *' from incompatible type 'intptr_t' (aka 'long')
V_2 = L_10;
^~~~"
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 14.0.2):
Fixed in: 14.0.2 (2022.2.0a9)
Resolution Note (fix version 13.1.8):
Fixed in 13.1.8 (2022.1.4f1)
Resolution Note (fix version 12.1.7):
Fixed in 12.1.7 (2021.3.4f1)