Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.33f1
2022.3.14f1
2023.2.2f1
2023.3.0a16
Issue ID
UUM-57571
Regression
No
Build fails when building with ILCPP Scripting Backend and ARMv7 as the Target Architecture
Reproduction steps:
1. Open the attached project "il2cppProject"
2. Choose IL2CPP as the Scripting Backend, and ARMv7 in the "Project Settings/Player/Other Settings/Configuration" menu
3. Build and Run on Android
4. Observe the Console Window
Expected result: Build completed successfully
Actual result: Build failed with the error “{{Building Library/Bee/artifacts/Android/iz17e/libil2cpp.so failed with output:}}
{{Library/Bee/artifacts/Android/il2cppOutput/cpp/Assembly-CSharp.cpp:0: error: undefined reference to '__multi3'}}
{{clang++: error: linker command failed with exit code 1 (use -v to see invocation)}}
{{UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)}}"
Reproducible with: 2021.3.33f1, 2022.3.14f1, 2023.2.2f1, 2023.3.0a16
Reproducible: macOS(Intel) 14.0 Sonoma, Windows 10 Pro 22H2
Note:
1. The build is successful when only ARM64 is selected
2. The build is successful with Mono and ARMv7
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
- Resources.UnloadUnusedAssets() freezes the Editor when releasing Mesh objects
- 16-bit Sprite Textures have a banding effect and loss of data when packing into Variant Sprite Atlas
- HDRP Cluster artifacts when having more than 100 lights
- ParticleCollisionEvent.intersection generates extremely high values when particles collide while in Play Mode
- Custom attributes are not properly converted to subgraphs
Resolution Note:
Fixing this issue requires updating Android NDK to r24 which we are not going to do at the moment.
Possible workarounds:
- export Gradle project from Unity; update NDK path in launcher/build.gradle and unityLibrary/build.gradle files, it should point to the NDK r24 installation; build project using Android Studio.
- add `MethodImpl(MethodImplOptions.NoOptimization)` attribute for the problem method.