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
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:"
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 2021.2):
Fixed in: 2021.2.8f1, 2022.2.0a2