Updated WebGL Build Not Reflecting Changes on Unity Play

I uploaded my game as a WebGL build, and the initial upload went smoothly. However, when I tried to update the same project by uploading a new ZIP file, the process appeared to complete successfully, yet the game remained at its old version with none of the new changes. To confirm, I uploaded the updated version as a completely new game, and it worked without any problems.

Additionally, I’ve tried clearing all cookies and performing a clean build multiple times, but nothing seems to work. It appears that updating an existing project on Unity Play isn’t recognized, leading me to believe this might be an issue on Unity Play’s end. Unfortunately, I haven’t received any response from Unity support for over 21 days.

If this issue isn’t caused by Unity Play, what do I need to do to properly upload the new version of my game? Has anyone else encountered a similar problem before?

any chance you’re just seeing a cached version?

1 Like

We don’t really can help you with that little information. Where did you “host” your game? On your own webserver or some public game hoster? Clearing cookies are kinda pointless, however clearing the cache is what you have to do. Depending on the browser you usually can reload the page with a key combination. I’m a life long FireFox user and “Ctrl+Shift+R” would reload the page and clears the cache as well.

Though depending on the used server, the server could also cache data. All this has nothing to do with Unity, so the Unity support most likely can’t help you here either.

What the clients can / shouldn’t cache is usually controlled by the server. Caching is usually a good thing as it prevents unnecessary reloading of large files if they are cached on the client side. Depending on the server the server may use e-tags to automatically cache files as long as they haven’t changed. Though this all comes down to the used server. I host several of my example builds on my github pages. You haven’t much choice when it comes to compression and mime types in that case, so you have to build it properly so it can actually be loaded.

So if you need further help, we need to know some additional information. The Webdeveloper tools of most browsers (chrome, ff, edge) can help you to see the actual network requests, which files are loaded, which are loaded from cache, etc. That’s something you have to do on your side.

I uploaded my game to Unity Play and was able to update it without any issues before. However, I haven’t been able to update any game for some time now. This isn’t just related to my current game; I also tried updating the files of previously uploaded projects on Unity Play, but none of the changes took effect.

Other than clearing cookies, I tried clearing the cache, using different browsers, and attempting to update different games I had uploaded before from different accounts, but there was no difference.

In short, I cannot update any previously uploaded game on Unity Play. However, if I upload it as if it were a new game, it works without any problems. I only experience this issue on Unity Play; I haven’t had any problems when uploading the same files to other sites.

I don’t encounter any issues uploading/updating these files on itch.io. Therefore, I believe the problem is related to Unity Play.

I have the same problem for a long time.

I know this is from like a long while ago but i ran into the same issue. Basically just do the “Create and Publish New Build” in “Publish” to it. It still updates the game. I did it what i think was the normal way. It said update and everything but it just didnt work but i did it like this and it updated so idk. :3