Search Issue Tracker
Fixed
Fixed in 3.5.1-beta.1
Votes
7
Found in [Package]
3.4.2
Issue ID
HUBX-912
Regression
Yes
[Linux] Build fails with "clang not found" errors when building an IL2CPP Android project with ARMv7 and ARM64 Target Architectures
*Repro Steps:*
1. Create a new Android 3D project
2. Click File > Build Settings > Add Open Scenes
3. In Build Settings window, click Player Settings
4. Under Other Settings, change Scripting Backend to IL2CPP
5. Under Other Settings, select “ARMv7” and “ARM64” Target Architectures
6. Click File > Build Settings > Build
*Expected:*
Expected result: The project is built successfully
*Actual:*
Actual result: Build fails with multiple “…bin/clang++: 1: clang: not found” errors
*Hub Version:*
3.4.2
*Editor Version:*
2022.2.16f1
*OS and Version:*
Ubuntu 20.04.5
Not reproducible on: Windows 11 Pro 21H2
Reproducible with: 2022.2.0b1, 2022.2.0b12
Not reproducible with: 2022.2.0b13, 2023.1.0a17
Couldn’t test with: 2020.3.41f1, 2021.3.12f1, 2022.1.21f1, 2022.2.0a1 (Couldn’t build because of “Gradle build failed” error), 2022.2.0a19 (Couldn’t build because Android SDK Build-tools component is not found)
-
nicolashiraclides_unity
Sep 07, 2023 09:39
If someone still encounters it, updating my UnityHub to 3.5.1 and then downloading the Unity Editor fixed the issue on my side.
-
hendri_unity373
Sep 06, 2023 10:40
Yes the issue is not resolved even in 2022.3.8f1
And majority of the CI/CD builder is using Linux. So this not working for linux is a huge bummer -
afshin_a_1
Jul 17, 2023 08:24
note that this issue isn't resolved !!!
i also have this issue using unity 2022.3.x latest version on ubuntu latest LTS.
what is ndk version for unity 2022.3? it's not mentioned here:
https://docs.unity3d.com/Manual/android-sdksetup.html
if it's r23b, then r23b isn't here to download:
https://github.com/android/ndk/wiki/Unsupported-Downloads
what should we do?last but not least unity should care more about linux, because many developers prefer to use Linux instead of Windows.. nowdays even amateur users are using linux thanks to ubuntu and it's community is going bigger and bigger.
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
- [sw-unity-6-1] UI Toolkit Debugger's "Pick Element" functionality does not work when hovering on any Editor panel except the Game view
- [Silicon] Crash with multiple StackTraces when entering Play Mode in a project with corrupted FBX files
- Index Out Of Range exception when trying to use Rendering Layer Override in Probe Adjustment Volume without a mask defined in lighting settings
- [Android] [Vulkan] [WebCamTexture] "WebCamTexture.Play" crashes the application when the camera is started
- Huge performance overheads appear when there is a large amount of bindings in the UI Toolkit
Resolution Note (fix version 3.5.1-beta.1):
Fixed in 3.5.1-beta.1: Hub zip utility will now correctly create symlinks for symlinks in zip package.
Resolution Note (fix version 3.5.1-beta.1):
Fixed in 3.5.1-beta.1: Hub zip utility will now correctly create symlinks for symlinks in zip package.