Closed Jendoliver closed 1 year ago
While I certainly agree that the beta version should be switched to a stable version, I am curious about what you mean by the current images don't work as I am currently using the images to build Android and it appears to work fine.
Thanks a lot for your contribution @Jendoliver. And happy the project is helpful to you!
Like Andrew I also suspect the fix was already done using that beta version and this PR just moves it to stable.
Sorry, you are both completely right since my test was flawed: I didn't build an image from the repo source (with the beta version of the hub) to try to reproduce the error, I only did it with my change and tested if that fixed my problem. Instead I relied on my CI logs which I just saw were using an old game ci version (1.0.1). Since the Android issues were still open I just assumed the problem still existed instead of doing a proper test :pray:
I just pulled unityci/editor:ubuntu-2022.2.11f1-android-1.1.2
and indeed the issue is fixed there already. So thanks for taking the time to answer and for the fast review!
Changes
3.4.2
, which was released on April 17th. This version of the Unity Hub has a fix for the wrong android module dependencies (OpenJDK, Android SDK and NDK), so this small change fixes https://github.com/game-ci/docker/issues/202 and fixes https://github.com/game-ci/unity-builder/issues/489I tested recreating the android image on my end with this version of the Unity Hub and I could successfully build an .apk for a game that is using Unity 2022.2.17f1, and was failing with the old image. I also explicitly checked for the OpenJDK version downloaded by Unity Hub for this Unity version, and it is correct:
Checklist
Please tell me if something else is expected from my side, as this is my first pull request here and I might be missing something :smile: And I also want to seize the opportunity to thank you one thousand times for this amazing project!