Search Issue Tracker
Third Party Issue
Votes
3
Found in
2021.2
2021.2.0b9
Issue ID
1364218
Regression
No
Android build fails when using ArmV7 Target Architecture
Reproduction steps:
1. Open the user's attached project
2. In the Main Menu go to Build Settings -> Project Settings -> Player -> Android -> Other Settings -> Configuration -> Target Architectures-> Select ARMv7 architecture
3. Build to Android device
Expected result: Build succeeds with ARMv7 and ARM64 Target Architectures
Actual result: Build fails with ARMv7 Target Architecture
Reproducible with: 2021.2.0b8, 2021.2.0b11
Couldn't test with: 2019.4.30f1, 2020.3.18f1, 2021.1.22f1, 2021.2.0a1, 2021.2.0b7, 2021.2.0b12, 2022.1.0a10
-
muhammad_ali_safdar
Aug 04, 2022 13:40
Deleting Library folder worked on Unity 2021.3.7
-
muhammad_ali_safdar
Aug 04, 2022 10:30
Found in also 2021.3.7
-
muhammad_ali_safdar
Aug 04, 2022 10:24
" 2. It looks like this only happens when the C++ Compiler Configuration is set to "Master". You can instead use the "Release" configuration option. "
Also not Work .
-
muhammad_ali_safdar
Aug 04, 2022 10:23
Please Fx it ...
-
LG_WangSiHao
May 18, 2022 12:45
This still happens on Unity LTS 2021.3.2f1, Please fix it.
-
pivot_RyomaShibata
Mar 16, 2022 10:40
Unity should change the NDK version to something more up-to-date.
-
creat327
Sep 23, 2021 16:38
Please fix this thing. It’s a regression
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
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
- Mouse and Pointer Events are called incorrectly in ScrollView with XRUIInputModule
- Memory leak occurs when repeatedly minimizing and maximizing the UI Builder window
Resolution Note (2022.1.X):
Unfortunately, we're bumping up against a problem in the Android NDK here.
The fundamental problem is that the executable code size for this project has gotten large enough that it triggers a bug in the native linker from the Android NDK. This issue is corrected in newer versions of the Android NDK, but we don't have a Unity version available yet with that newer Android NDK.
With the current Unity versions, there are two possible workarounds:
1. See if you can make the code used in this Unity project smaller. One option here is to use the new option discussed here: https://forum.unity.com/threads/il2cpp-build-time-improvements-seeking-feedback.1064135
2. It looks like this only happens when the C++ Compiler Configuration is set to "Master". You can instead use the "Release" configuration option.