Appearance
Appearance
Updating the SDK might look intimidating but it's usually a straightforward process. Please keep in mind that you should not "skip" versions, as each SDK update will have migration steps that need to be followed. If you're more than one version behind, you should follow the migration guide for each version in order.
The latest version of the SDK can always be found on the Portal and in the Release Notes. If you're not sure which version you're running, the version number can be found in DeploymentOptions.CurrentMetaplayVersion
or in the LiveOps Dashboard under Runtime Options -> Deployment.
Before applying the update, you should review the release notes for the new version of the SDK for any breaking changes and migration steps. This will give you an idea of what to expect in case you have customized our core SDK code.
Before applying the update, you should have a clean working state. This means that you should have no uncommitted or other work-in-progress changes that could get mixed up with the file changes from the update.
If possible, you should create a new branch in your version control system to apply the update. This will make it easier in later steps to compare changes, run tests, and potentially revert the update if necessary. Working in a branch also allows other team members to continue working on the project without being affected by the update.
The latest version of the SDK can always be found on our Portal.
At its simplest, applying the update is a matter of replacing the old SDK files with the new ones and updating your project configuration. However, here are the exact steps we prefer to use:
metaplay-gameserver
helm chart to the recommended version for the new release as per the release migration guide and deploy the changes to your environments.After applying the update, commit your changes, trigger your CI pipelines, run our integration test suite, and do manual smoke testing to ensure that everything is working as expected.
Before merging the update into your main branch, make sure to review the changes and verify that there are no unexpected or accidental changes to files outside of the update. This is also a good time to double-check that you have not missed any customizations you may have done to our core SDK code.
If you run into any issues during the SDK update, feel free to join our Discord and ask for help!
If you have a support contract with Metaplay, as always, if you need any assistance, feel free to contact us through your official support channels.