https://metaplay.io logo
Metaplay SDK 38.0.0 upgrade help
# questions-and-feedback
h
Hi 👋 I started looking into how we can upgrade to the new SDK version, but I've hit a wall. From what I understood, the v38 requires a force update (bump the LogicVersion) and configs built with it are incompatible with old versions. We are publishing mobile ourselves, and (even though I don't think it's a good solution) we can try timing the deploys with the releases to reduce incompatibility issues. Our problem comes with Web and other platform. There, we upload a new version to the publisher's portal and request a deployment, but each channel is reviewed and released separately (based on our experience the timing between them is very different, weeks apart). Ideally, I would like to be able to have versioned config (
old client
->
old config
, and
new clients
->
v38
), this way, we can rollout without any timing stress or downtime. Metaplay doesn't support this, correct? Is there a better workaround for this? How did other's handle their upgrade?
a
Hi, and thanks for reaching out! Metaplay does allow supporting multiple client versions with a single server deployment to some extent, you can read all about it here: https://docs.metaplay.io/feature-cookbooks/game-updates-and-versioning/logic-versions. That type of an update requires the server and the shared logic to be carefully guaranteed to work across multiple client versions. The expectation is that occasionally games will need larger, compatibility breaking updates where the client and server are updated in tandem. Most Metaplay SDK updates fall in this category: they break the client/server protocol and therefore force a full update. With mobile platforms the way that this works is that newer clients are pushed to be reviewed on platform stores and the game update involving deploying the new server version and unlocking the new clients happens simultaneously. When orchestrated properly, the downtime for players can be pushed down to a few minutes + the time of downloading the new client. It sounds like you are working with distribution channels that don't allow you to control the "switch" to a newer version, that makes this possible on mobile. Since the actual client deployment is a lot more flexible on the web, perhaps you could have both the old and new web client public and then implement the "switch" via a redirect for example? I imagine that the publishers will want to review the new version in private prior to the publishing, that need can be satisfied with the new logic version redirect. Hope this helps! Metaplay Support / Antti
h
Hi Antti, Thanks for the reply
I'm not sure I understand your suggestion for the web release. In order to have both an old and new web clients public, they both need to be able to "understand" the R38 server and the config it built. Correct? If that is the case, we're all good. We can rollout the new server and wait for all platforms to be released before we toggle the min LogicVersion and ask old clients to force update.
a
That path unfortunately doesn't work when the game update contains the update to Metaplay SDK R38. When you rollout the new server version the old client will not work. What I'm suggesting would require you to be able to coordinate with the web portal to some extent. The portal making a new version public would not actually switch to the new client version before you have rolled out the new server.
h
Ok, that's what I had understood before. I was hoping that I had overlooked something. It's very unlikely that we can coordinate all the different channel releases. Our publisher is only one half of the equation, on the other side we would be Facebook, Xiamoi, Samsung, Microsoft, etc.. having to press the buttons at the same time. I guess we will need to stay on v37 then. Are there any plans to implement something like this (
old client
->
old config
, and
new clients
->
new config
) in the future? That would allow people to do a proper rollout? LogicVersion as is only cover half of the equation.