Search Issue Tracker

Fixed in 14.0.2

Fixed in 12.1.7, 13.1.8



Found in [Package]


Issue ID




[URP][IL2CPP] Build fails with "BuildFailedException" and Bee Library errors when building with IL2CPP Scripting Backend enabled

Package: Scriptable Render Pipeline Universal


Reproduction steps:
1. Open the attached Unity project "URP"
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)

- 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;

  1. Resolution Note (fix version 14.0.2):

    Fixed in: 14.0.2 (2022.2.0a9)

  2. Resolution Note (fix version 13.1.8):

    Fixed in 13.1.8 (2022.1.4f1)

  3. Resolution Note (fix version 12.1.7):

    Fixed in 12.1.7 (2021.3.4f1)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.