Search Issue Tracker

Fixed in 2021.2.X

Votes

0

Found in

2021.2.5f1

2022.1

2022.2

Issue ID

1386508

Regression

Yes

[IL2CPP] "BuildFailedException" and Bee errors are thrown in the Console when building for Android with Script Debugging enabled

IL2CPP

-

Reproduction steps:
1. Open the "UI Interaction" Scene in the attached project "VR.zip"
2. Go to File > Build Settings
3. Add "UI Interaction" Scene in Scenes in Build
4. Enable Development Build and Script Debugging
5. Switch to Android Platform and Build the project

Expected result: The Build is successful
Actual result: The Build fails after 10-15min, errors are thrown in the Console window

Reproducible with: 2021.2.5f1, 2021.2.7f1, 2022.1.0a1, 2022.1.0b5, 2022.2.0a1
Not reproducible with: 2019.4.35f1, 2020.3.27f1, 2021.2.4f1, 2021.2.8f1, 2021.2.9f1, 2022.2.0a2

Notes:
- Issue is not reproducible when building for Standalone
- Issue is not reproducible when building with Mono Scripting Backend selected
- Issue is not reproducible when Script Debugging is disabled
- Errors in the Console Window:
"BuildFailedException: Incremental Player build failed!"
"Building Library/Bee/artifacts/Android/d8kz/libil2cpp.so failed with output:
/Applications/Unity/2022.1.0a1_c7bdc69c878e/Unity.app/Contents/PlaybackEngines/AndroidPlayer/Variations/il2cpp/Development/StaticLibs/arm64-v8a/baselib.a(External_il2cpp_builds_external_baselib_Platforms_Android_Source_0_7joqh.o): In function `omemstream':
/Users/bokken/buildslave/unity/build/External/il2cpp/builds/external/baselib/Source/omemstream.h:16:"

  1. Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.8f1, 2022.2.0a2

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.