Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Bug [Android] IL2CPP, Linux editor build fails, clang

Discussion in '2023.1 Beta' started by andersmarkendahl, Apr 9, 2023.

  1. andersmarkendahl

    andersmarkendahl

    Joined:
    Mar 6, 2021
    Posts:
    14
    Using 2023.1 Beta for an Android project on Linux (Ubuntu).
    Worked on 2021.x. The build fails as a follows:

    Code (CSharp):
    1. Building Library/Bee/artifacts/Android/x6ly2/er97_getifaddrs.o failed with output:
    2. clang: error: no input files
    This issue was reported already at 2022.x and this thread is mainly to bring attention that this is not resolved. See this thread.

    Unity version: 2023.1.0b11 (d7a57a783dcc)
    OS: Ubuntu 22.04.2 LTS
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,920
    Could you attach Editor.log please?
     
  3. andersmarkendahl

    andersmarkendahl

    Joined:
    Mar 6, 2021
    Posts:
    14
    Hi Tomas and thanks for your reply.

    Here is a zip file attached of ~/.config/unity3d/Editor.log from a failed build with the error message as described in initial post.

    I can also add that I am using Android Target API v32.
    Trying to uplift from v30 as Google play will soon restrict earlier versions.
     

    Attached Files:

    Last edited: Apr 15, 2023
  4. andersmarkendahl

    andersmarkendahl

    Joined:
    Mar 6, 2021
    Posts:
    14
    Hi @Tomas1856!

    Did you manage to figure something out based on the attached Editor.log?

    Thanks in advance
     
  5. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,920
  6. nov411337

    nov411337

    Joined:
    Jan 27, 2019
    Posts:
    9
    Hi, the first part of this suggestion is clear but when you mentions "extracting, and telling Unity to use this directory instead of builtin one which comes from HUB" how can be possible using command line? I run this on a headless server.