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

IL2CPP cross compiling support

Discussion in 'Experimental Scripting Previews' started by hogwash, May 11, 2018.

  1. hogwash

    hogwash

    Joined:
    Oct 12, 2012
    Posts:
    117
    What is the roadmap for cross compiling OSX and Linux from Windows using IL2CPP?

    Right now:

    1. There's no Linux IL2CPP support
    2. OSX IL2CPP builds can only be made from a Mac (not Windows)

    Thanks,
    Tom.
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,675
    We had no plans for it right now. We might reevaluate when we port IL2CPP to Linux. I don't think there is a way to cross compile to macOS from Windows, though (unless I missed something).
     
  3. hogwash

    hogwash

    Joined:
    Oct 12, 2012
    Posts:
    117
    Hi,

    I just wanted to ressurect this thread now that IL2CPP is supported for Linux builds, will there be a way to cross compile them from Windows?

    Cheers,
    Tom
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,675
    Yes, we're actually working on that. We'll support building for Linux IL2CPP from both Windows and Linux editors.
     
  5. hogwash

    hogwash

    Joined:
    Oct 12, 2012
    Posts:
    117
    That's great news! Do you have a release ETA for that ability?
     
  6. zibizz1

    zibizz1

    Joined:
    Oct 11, 2012
    Posts:
    17
    In which version it will be possible to build Linux IL2CPP on Windows?
     
  7. Meceka

    Meceka

    Joined:
    Dec 23, 2013
    Posts:
    423
    Is Unity also going to support building Mac IL2CPP from the Windows editor?
     
  8. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,675
    We have no plans for it at this time.
     
  9. gamefox87

    gamefox87

    Joined:
    Aug 19, 2016
    Posts:
    64
    It's 1 year later and I was wondering if Unity had any plans to build Mac il2cpp from Linux editor?
     
  10. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,675
    No.
     
  11. Addy691721

    Addy691721

    Joined:
    Jan 22, 2021
    Posts:
    3
    Is it now possible cross-compile linux from windows using il2cpp for unity 2020.2.1? I can find this https://docs.unity3d.com/2019.4/Documentation/Manual/linux-IL2CPPcrosscompiler.html, but not for unity 2020.2, the version i need. In build settings i can see this alert: "building linux il2cpp player requires a linux sysroot package to be installed". If i go to package manager and install com.unity.toolchain.win-x86_64-linux-x86_64, build settings change alert in "Currently selected scripting backend (IL2CPP) is not installed"
     
    Last edited: Apr 8, 2021