Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Build failure on Android + Unity 2022.2.0b14

Discussion in '2022.2 Beta' started by AchM2, Nov 11, 2022.

  1. AchM2

    AchM2

    Joined:
    May 6, 2022
    Posts:
    6
    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?
     

    Attached Files:

    homa_games likes this.
  2. Andrew010110

    Andrew010110

    Joined:
    Oct 8, 2022
    Posts:
    18
    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.
     
  3. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,810
    Looks like your case has been re-opened :)
     
  4. dqmachine_ml

    dqmachine_ml

    Joined:
    Sep 30, 2021
    Posts:
    1
    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.
     
    Last edited: Mar 14, 2023
  5. MMDCCIV

    MMDCCIV

    Joined:
    Jan 27, 2018
    Posts:
    1
    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?
     
  6. serp256

    serp256

    Joined:
    Aug 31, 2017
    Posts:
    1
    Unity 2022.2.11f1 has same bug. Please, fix it
     
  7. Irina-uk

    Irina-uk

    Joined:
    Feb 14, 2014
    Posts:
    62
    ??? Unity 2022.2.12f1 has same bug. Please, fix it
     
  8. ifilatov

    ifilatov

    Joined:
    Jan 17, 2023
    Posts:
    3
    Problem in corrupt links, they replaced to files. For Windows maybe it is normal, but for unix like systems it is error
     
  9. ifilatov

    ifilatov

    Joined:
    Jan 17, 2023
    Posts:
    3
    vxdcxw, homa_games, tokar_dev and 2 others like this.
  10. fabiojscosta1583

    fabiojscosta1583

    Joined:
    May 3, 2021
    Posts:
    4
    homa_games likes this.
  11. denravonska

    denravonska

    Joined:
    Nov 20, 2020
    Posts:
    12
  12. denravonska

    denravonska

    Joined:
    Nov 20, 2020
    Posts:
    12
    Still an issue in 2022.3. Is this ever going to be fixed?
     
  13. mfjord

    mfjord

    Unity Technologies

    Joined:
    Jul 14, 2023
    Posts:
    2
    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.
     
  14. vxdcxw

    vxdcxw

    Joined:
    Mar 21, 2014
    Posts:
    15