IL2CPP Support

deleted

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!

That does help, will there by any chance be support for Linux coming soon?

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).

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!

3 Likes

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

2 Likes

We now have the ability to try out building Windows Standalone with IL2CPP. We’re looking for anyone interested in trying out out: Survey - Windows builders [ no longer accepting new applicants ]

1 Like

@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?

IL2CPP is supported on Cloud Build for Android, iOS and Mac Standalone builds.

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.

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.

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?

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.

Okay that makes sense, thanks for the info!

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.

Hello, sorry for not being clear. I meant linux il2cpp build on macOS.

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.

1 Like

For others interested in this, Linux IL2CPP builds are possible using GitHub Actions instead of Unity Cloud Build GameCI Docker images for Unity | GameCI