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 Support

Discussion in 'Unity Build Automation' started by digitaljokerman, Mar 18, 2020.

  1. digitaljokerman

    digitaljokerman

    Joined:
    Dec 31, 2017
    Posts:
    4
    Hi, I was wondering, is IL2CPP supported in Cloud Build?
    Thanks
     
    Last edited: Jun 29, 2020
  2. ollieblanks

    ollieblanks

    Unity Technologies

    Joined:
    Aug 21, 2017
    Posts:
    429
    IL2CPP is supported on Cloud Build for Android, iOS and Mac Standalone builds. We are currently working on expanding IL2CPP support for Windows Standalone builds.

    Hope this helps!
     
  3. digitaljokerman

    digitaljokerman

    Joined:
    Dec 31, 2017
    Posts:
    4
    That does help, will there by any chance be support for Linux coming soon?
     
  4. victorw

    victorw

    Unity Technologies

    Joined:
    Sep 14, 2016
    Posts:
    459
    The core limitation of IL2CPP is that you can't currently perform it unless you're executing your build on the same environment that you're building your executable for. Windows support is our current priority and Linux is not currently being actively worked on (though the work for Windows is also required in order to support Linux).
     
  5. Kaligoth

    Kaligoth

    Joined:
    Mar 4, 2015
    Posts:
    8
    Maybe I am blind - but I couldn't find any information about those limitations in the default FAQs, the product offering or when setting up the build. This is borderline dishonest, when you advertise builds on those platforms...

    I'm happy you are working on this, but PLEASE, put up clearly visible indications that you DO NOT support IL2CPP for windows and that you WILL NOT support it on Linux. Not a great experience!
     
    DebugLogError, FlightOfOne and loocid like this.
  6. bfoddy

    bfoddy

    Joined:
    Mar 27, 2012
    Posts:
    85
    Yeah agreed, that was a lot of work on our end just to find out that we were wasting our time.

    Why on earth wouldn't you implement a warning when the user goes to setup cloud build? WTF guys
     
    DebugLogError and FlightOfOne like this.
  7. bradunity

    bradunity

    Unity Technologies

    Joined:
    Nov 12, 2013
    Posts:
    195
    Haze-Games likes this.
  8. Kelevra

    Kelevra

    Joined:
    Dec 27, 2012
    Posts:
    87
    @victorw Looks like it's not longer a limitation because I can build il2cpp on my Mac. Maybe you can enable this option in Cloud?
     
  9. victorw

    victorw

    Unity Technologies

    Joined:
    Sep 14, 2016
    Posts:
    459
    IL2CPP is supported on Cloud Build for Android, iOS and Mac Standalone builds.
     
  10. GoldFireStudios

    GoldFireStudios

    Joined:
    Nov 21, 2018
    Posts:
    154
    How are you building it on a Mac? I signed up for Cloud Build exclusively because I'm on a Mac and couldn't build for iL2CPP on the Windows target, only to find out after 3 hours of waiting for the build to finish that it failed saying it didn't support IL2CPP build target.
     
  11. victorw

    victorw

    Unity Technologies

    Joined:
    Sep 14, 2016
    Posts:
    459
    Are you trying to build IL2CPP for Apple Silicon? There are issues with that target, I deployed a fix for it recently but it seems like there's still more work to be done there.
     
    Last edited: Jan 28, 2021
  12. GoldFireStudios

    GoldFireStudios

    Joined:
    Nov 21, 2018
    Posts:
    154
    No, I'm able to build IL2CPP for Mac just fine (I'm still on an Intel Mac). I want to build for Windows, but that doesn't seem to be supported. I signed up for Cloud Build specifically to be able to build to a Windows target, not seeing anything to suggest that wasn't supported. I don't suppose there is an ETA for that on Cloud Build?
     
  13. victorw

    victorw

    Unity Technologies

    Joined:
    Sep 14, 2016
    Posts:
    459
    Oh - yeah unfortunately IL2CPP requires Windows build agents which are still in beta. I'm definitely not willing to give an ETA on that because at one point my ETA was probably mid 2018. We're definitely getting closer but there's also a huge minefield of platform-specific issues which keep getting thrown in our way so at this point I really have no idea when it will be ready.
     
  14. GoldFireStudios

    GoldFireStudios

    Joined:
    Nov 21, 2018
    Posts:
    154
    Okay that makes sense, thanks for the info!
     
  15. FlightOfOne

    FlightOfOne

    Joined:
    Aug 1, 2014
    Posts:
    659
    This^^^

    Luckily I found out by accident too and there is no mentions (or its in a place where its not meant to be visible) of this whatsoever in any of the sales/advertising stuff. I think this is an important item to mention. I just got Plastic SCM and was one step away from buying teams and cloud build.

    I am sure Unity didn't have sinister intentions and maybe its a simple oversight but this is something they should be transparent and up front about so people don't waste days trying figure out something work that is wouldn't work.
     
  16. Kelevra

    Kelevra

    Joined:
    Dec 27, 2012
    Posts:
    87
    Hello, sorry for not being clear. I meant linux il2cpp build on macOS.
     
  17. wilgieseler

    wilgieseler

    Joined:
    Oct 17, 2013
    Posts:
    62
    Wait there's no way to do an IL2CPP build for Linux? This is so bizarre! What's the point of having a Unity first-party build system if it can't even build the recommended way for a key platform. With Steam Deck, this seems particularly important. As always, Unity offers a half-broken solution.

    You can do an IL2CPP Linux build on both Windows and Mac versions of the Unity Editor.

    > ERROR: Unity Cloud Build does not support IL2CPP for this build target.
     
    pixelsplit likes this.
  18. wilgieseler

    wilgieseler

    Joined:
    Oct 17, 2013
    Posts:
    62