Search Issue Tracker

Won't Fix



Found in





Issue ID




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

1. The build is successful when only ARM64 is selected
2. The build is successful with Mono and ARMv7

  1. 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.

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.