Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Seems to be broken in Unity version 2020.1.0b5.

tested it out in 2020.1.0b5 and can reproduce the issue: looks like unity isn't replacing any of the template tags when creating a WebGL build. looks like they've changed how that build process works, unfortunately without updating the documentation; will dig into it some more and try to have a fix up soon

(+2)

updated with a version that supports 2020.x. thanks for the bug report; feel free to lmk if you have any other issues!

(+1)

I tested it and it works. Thank you for your work!

I'm getting the following error using the template on Firefox:

The resource at “https://www.google-analytics.com/analytics.js” was blocked because content blocking is enabled."

It's true that I have content blocking enabled as per default in Firefox. This makes the game start take a couple of seconds longer. I assume this is because the template tries to contact Google in vain. As most players are pretty hectic nowadays, some of them might think the game doesn't work and close the browser so it would be great if you could add a check for potential content blocking. Thanks!

(+1)

i believe that's unfortunately outside the scope of this template: it's just a very thin wrapper around the bundle Unity is injecting into it, and Unity is managing any and all tracking code

I see. That is unfortunate. I'm not sure who is contacting Google analytics in itch.io. Is it Unity or Itch itself? Or someone else? Let's hope it works better in the future.