Search Unity

Question Build Linux IL2CPP on Windows

Discussion in 'Linux' started by FVS, Jul 18, 2022.

  1. FVS

    FVS

    Joined:
    Aug 10, 2015
    Posts:
    58
    I'm using Windows 11, Unity 2022.1.9 with Linux IL2CPP installed, the toolchain installed but it still shows "Linux IL2CPP player can only be built on Linux".

    Do I really have to use Linux or what issue am I probably having here?

    Thanks,
     
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,931
  3. FVS

    FVS

    Joined:
    Aug 10, 2015
    Posts:
    58
  4. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,931
    I don't know the details here, but let me see if I can find someone to help.
     
  5. FVS

    FVS

    Joined:
    Aug 10, 2015
    Posts:
    58
    Thanks, meanwhile let me provide more detail: I have Sysroot Base, Sysroot Linux 64, Toolchain Win Linux x64 in Package Manager. And I don't know what these are, but I do have linux-x86 and windows-x86_64-linux-x86_64 in the folder AppData\Local\unity3d\cache\sysroots.
     
  6. qiliang_zhou

    qiliang_zhou

    Unity Technologies

    Joined:
    Sep 3, 2019
    Posts:
    15
    This is a known issue and the fix will be available in the next editor release 2022.1.10f1. Sorry for the inconvenience.
     
    FVS likes this.
  7. Aemc

    Aemc

    Joined:
    Jan 19, 2016
    Posts:
    1
    Hello!

    This issue is still happening in 2022.1.10f1 Apple Silicon. MacOS 12.4.

    I have this message in the Build Settings window: "Building Linux IL2CPP player requires a sysroot toolchain package to be installed."

    The Toolchain Linux x64 package (v2.0.2) is installed in the project.
     
  8. alit-rf

    alit-rf

    Joined:
    Aug 4, 2021
    Posts:
    2
    if anyone having issue with Apple Silicon, I installed couple of Silicon versions. Warning still showed up. Then I installed Intel version of editor and successfully builded linux on mac silicon. It took 20 minutes to build on M1 Max......