Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MOBILE-3924] Update Unity plugin #134

Merged
merged 52 commits into from
Mar 14, 2024
Merged

[MOBILE-3924] Update Unity plugin #134

merged 52 commits into from
Mar 14, 2024

Conversation

Ulrico972
Copy link
Contributor

@Ulrico972 Ulrico972 commented Dec 5, 2023

What do these changes do?

  • Update Unity plugin to 9.3.0
  • Update Android SDK to 16.11.2 and iOS SDK to 16.12.6
  • Update Unity version and probably other libraries versions
  • Update the build in the CI

I also pushed the ProjectSettings files so GameCI uses them for the build. The most important one is ProjectVersion.txt, the rest can be left out if we don't want to push them, in that case we'll need to gitignore the directory for GameCI.

Why are these changes necessary?

  • Keep the plugin updated with last SDK 16 fixes and features
  • Add Xcode 15 support
  • Migrate from Unity3d to GameCI docker images for unity

How did you verify these changes?

Generating a unity package, adding it to a sample app, build that sample app and check the basic things, logs, channel ID, push, etc.
iOS is OK on my side.
Xcode 15 support is fine.
Android is OK.

Verification Screenshots:

Anything else a reviewer should know?

I ended up building the unity package in local and putting it in github so the release workflow can release it.
I don't think GameCI has anything to build the unity package and I didn't manage to find the Unity's files needed from GameCI docker image in order to build the unity package from the CI.
So for now, I think the better we can do is to just build the unity package in local and push it with our changes when we prepare a release.

For Android, the dependency resolving sometimes fails for some weird Unity reason. By adding a custom main gradle template and a custom gradle properties the customers can make the unity-jar-resolver get the dependencies with gradle perfectly.

We'll wait for the next release to fix the GCP issue in the release workflow and the following point:
We need to reserve a seat for Github on our Unity licence. I think we should just create a email address for that purpose because for now I used my account to set a token in the github secrets.

@Ulrico972 Ulrico972 self-assigned this Dec 5, 2023
@Ulrico972 Ulrico972 force-pushed the MOBILE-3924 branch 2 times, most recently from 00ec7da to 66eaec2 Compare December 15, 2023 21:23
@Ulrico972 Ulrico972 marked this pull request as ready for review December 22, 2023 22:12
@Ulrico972 Ulrico972 merged commit 34a2380 into main Mar 14, 2024
2 checks passed
@Ulrico972 Ulrico972 deleted the MOBILE-3924 branch March 14, 2024 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants