-
-
Notifications
You must be signed in to change notification settings - Fork 277
Add IL2CPP support for Android, iOS, Linux #143
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi @RDeluxe thank you for your input. I agree with the suggested solution. Accepting PRs for the suggested changes. Please note though that is currently blocked by https://gitlab.com/gableroux/unity3d/-/issues/85. |
Hi ! Yes I'm currently using a fork to use a working Android image. I'm not quite sure how things are going to evolve without changing the images name though. I'll keep an eye on that. I realized that https://gitlab.com/gableroux/unity3d/-/issues/66 did not include IL2CPP images for iOS nor Android, but only for linux. That means a first MR would be required to add |
Yes, as we are using gableroux/unity3d images, so we would need to see the images (#il2cpp) in dockerhub before we can use them. |
I think the Android and iOS images include il2cpp by default. I would really like to see il2cpp for linux added, though. |
That's weird, the previous issue mentioned a new naming scheme for il2cpp images, because of the added "weight". Maybe @GabLeRoux can confirm ? It's not clear digging in the sources. I'll test that as soon as I can find a working Android image 😅 |
I don't know if latest images have Linux
Available -linux-il2cpp images and versions as of today
Windows But as described in the discussion, last time I checked (4 months ago), Unity doesn't have support for installing Android
A quick way to confirm this would be to run Ubuntu locally, install unity with android build support and see if it's possible to build a project with IL2CPP and iOS
This is definitely related to https://gitlab.com/gableroux/unity3d/-/issues/85 |
I don't think there's much discussion to be had about iOS. Unity requires IL2CPP for 64-bit iOS builds, Apple now requires 64-bit for new iOS apps, so IL2CPP is now the only option for building to iOS. |
Could anyone confirm that this works now? |
I tried using unity-builder@v2.0-alpha-2, but my Linux Il2CPP build fails (Android and iOS are good, though!). Maybe there is some additional step required to get IL2CPP working on Linux? |
I think this will fix it #177 |
Looks like its still using the base image instead of IL2CPP:
I can run a snippet similar to the logic we've got:
Running this snippet returns "linux-il2cpp" instead of "base", so I'm not sure what's wrong now. |
I forgot to run |
Ok, it's using the correct image now, but now I'm getting this error: @GabLeRoux started looking into this at https://gitlab.com/gableroux/unity3d-gitlab-ci-example/-/issues/139 |
That's good news. So we're 1 step closer again 👍🏼 |
Linking to game-ci/docker#53 for visibility. |
Images have been reported to work with Android and iOS as build targets. Their default backend is set to IL2CPP, at least for newer versions of Unity editor. Closing this unless there is indeed reason to believe we need to further investigate any missing dependencies. |
Context
Seems that linux docker images with IL2CPP are ready => https://gitlab.com/gableroux/unity3d/-/issues/66
It would be nice to be able to use them.
Suggested solution
Considering IL2CPP + Windows target is not possible ATM, an action parameter could be tricky. However I don't see any better solution.
The text was updated successfully, but these errors were encountered: