Build failure on Android + Unity 2022.2.0b14

Devbox: Ubuntu 20.04.5 LTS
Unity Hub: 3.3.0
Editor: Unity 2022.2.0b14
Barebones ‘3D (core)’ program: Just a cube + Main Camera + Directional Light
Build Platform: Android
Player Settings:
All defaults except below:
Scripting Backend: IL2CPP
API compatibility: .NET Standard 2.1
Target Architecure: Arm64

Building I get errors similar to the following (see attached also):
Building Library/Bee/artifacts/Android/87lik/qyxn_decode.o failed with output:
clang: error: no input files

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /home/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)

Unity2021 and below works fine. The problem is only with Unity2022_beta and Unity2023_alpha. Also I am guessing that the above problem is not there on Mac/Windows because of the large amoutn of testing.

For development on Ubuntu 20.02, is Unity2022 and higher supported? Do I need to change any settings?

1 Like

I’ve been running into this throughout 2022.2.0b9+. Made a post about it a while ago too. In my case, Unity couldn’t even find clang and would throw a clang++ not found error. If I add it to the path, then I get the same error you’re seeing. I reported it as a bug and they were able to reproduce it, however, they said it was fixed in b13. When I tested it, it still appeared to be broken and the bug report has since stalled for about a week after I followed up about it still being broken.

Looks like your case has been re-opened :slight_smile:

I’m having the same issue. I’ve been working in Windows and was trying to run in Ubuntu 20.04 with Unity 2022.2.3f. I have tried 2022.2.10. Same clang issues.

Going backward to 2021 is not an option for us since our are the main project in windows and is still building in 2022.2.3f and URP 14.0.5.

Is there a resolution to this problem? We are trying to get this running for a project we are developing. Any info would be helpful.

Thanks in advance.

I get the same error on a linux in 2022.2.1f1 and 2022.2.10f1. Building the project works with Mono though. Any updates on this?

Unity 2022.2.11f1 has same bug. Please, fix it

??? Unity 2022.2.12f1 has same bug. Please, fix it

Problem in corrupt links, they replaced to files. For Windows maybe it is normal, but for unix like systems it is error

Small script for fixed it xstools/fix_link.sh at main · xgensoft/xstools · GitHub
Need runing in ./Editor/Data/PlaybackEngines/AndroidPlayer directory
It fixed build for me

5 Likes

This worked for me. Really thanks!

1 Like

For those running UnityCI and build with Docker they have fixed another workaround, see Fix Android 2022.2.X+ Build Issues (#205) · game-ci/docker@6d9b762 · GitHub

Still an issue in 2022.3. Is this ever going to be fixed?

It turns out to be an issue with the installer in older versions of Unity Hub. Upgrading to the latest version of Unity Hub and reinstalling the editor, should solve the issue.

Thank you, saved my day

Who wrote this code ? it is awesome, thanks !