How to make Auto game version update?

Lets say I released some windows standalone game, and it has multiplay.

And later, if I add contents or update to my game, how can game users automatically download it and update their game client when log in to my game’s multiplay server?

I using Unity Pro, and is there a function for implement this(versioning, auto updating)?

Thanks.

Usually it’s better to search around before posting, but oh well… this might be something you are looking for… another suggestion I saw not too long ago was to make your own game launcher and have it check for updates…

The link on the page just leads to the home page of the unity assest store

Quote by the Publisher of the asset :

Cheap and efficient Patch that would do what you are looking for:

As of the latest update this is super easy. Wrote and tested a script that does it for you (free):

https://github.com/PimDeWitte/Unity-auto-version-increment/blob/master/YourPostBuildScript.cs

The link doesn’t exist anymore :frowning:

EDIT: I made a tool which does this (for free)! You can scroll down to see my reply about it.

1 Like

Well since pdwitte last logged in the same day as that 3 year old comment, don’t hold your breath.

Unity Remote Settings could trigger a flag in a released app and notify (or require) the user to upgrade. https://docs.unity3d.com/Manual/UnityAnalyticsRemoteSettings.html

1 Like

I alway seem to discover something else interesting to use, just when I think I know a decent amount about unity. Thanks.

Why does unity not yet have an efficient way to update the contents of a game directly within the game itself? What comes closest to this is the asset bundle, but it is not so useful when we want to modify a few lines of a script.

If anyone is still looking for a simple solution to this, I made a free tool which lets you set up simple automatic updating in less than 10 minutes. It uses .NET Core with WPF and runs on Windows computers perfectly. It can also be ported to Mac and Linux quite easily but you will need a different UI library or just run it as a console application.

If you don’t want a full automatic updater, and would rather just notify the user when an update is available, I’ve found Unity Remote Settings to not work very well at all. I’ve actually found that just hosting a json file on github and using UnityWebRequest to get it at runtime and check the values works quite well, and I’ve been using it for my games for a while.

3 Likes

Thank you for the tool, I’ve tested it and it works great. I am wondering if there is a way to integrate the config.txt file so that users do not have access to this?

I have tried several tutorials to create a launcher, including one directly inside unity and I am so fed up with the stuff not working. From using google drive with the download url generator to posts that are from 2013. A proper tutorial on this would be really good, especially one that is up to date, and a user can follow to create their own custom launchers with updaters.

Remote Config allows you to do just this. You make one change on your server, and all your clients are updated.

1 Like