Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

il2cpp building error

Discussion in 'Editor & General Support' started by tossen, Mar 9, 2020.

  1. tossen

    tossen

    Joined:
    Jun 11, 2015
    Posts:
    30
    when i try to build for 64 bit android using il2cpp
    in unity 2018.4.17f1 i get this error.

    Failed running C:\Program Files\Unity\Editor\Data\il2cpp\build/UnityLinker.exe

    and this one.

    Exception: C:\Program Files\Unity\Editor\Data\il2cpp\build/UnityLinker.exe did not run properly!

    i tried everything but nothing works, any help would be great.
    e1.PNG e2.PNG
     
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,771
    What scripting runtime version are you using (that is available in the Player Settings)? This looks like it might be a bug on the Unity side, but we might be able to work around it also.
     
  3. tossen

    tossen

    Joined:
    Jun 11, 2015
    Posts:
    30
    ps1.PNG thanks for the replay, this is a screenshot of my player settings.
    i am not a noob but this problem is somthing else.
     
  4. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,771
  5. tossen

    tossen

    Joined:
    Jun 11, 2015
    Posts:
    30
    I need to fix it as fast as I can, this ruin my plans to release my app, but I will submit a report, then what should I do after that?
     
  6. tossen

    tossen

    Joined:
    Jun 11, 2015
    Posts:
    30
    btw I am also facing a big problem with admob but I will leave that for later question
     
  7. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,771
    I don't have a work around, sorry! We will need to better understand what causes this issue to suggest something.
     
  8. tossen

    tossen

    Joined:
    Jun 11, 2015
    Posts:
    30
    I understand that, this error happens even on a new project, i just opened a new project and tried to build for android, and this happened.
     
  9. tossen

    tossen

    Joined:
    Jun 11, 2015
    Posts:
    30
    anyway I appreciate your help.
     
  10. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,771
    That is rather odd. Maybe something in that .xml file mentioned in the error message is corrupt. Can you try a new Unity installation?
     
  11. tossen

    tossen

    Joined:
    Jun 11, 2015
    Posts:
    30
    I tried that, I installed unity in a win 7 machine, and the same things happens
     
  12. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,771
    Oh, maybe it is specific to Windows 7. Can you try on a Windows 10 or mac machine?
     
  13. tossen

    tossen

    Joined:
    Jun 11, 2015
    Posts:
    30
    I don't think that, because I am working on a win 8.1 64 bit machine, and when this happened I tried the win 7 machine, in both machines I face the same error.
     
  14. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,771
    I don't have any immediate solutions then, sorry!
     
  15. tossen

    tossen

    Joined:
    Jun 11, 2015
    Posts:
    30
    thanks for your time, I will do as you said and hope it will be fixed, thank you for your time.