Skip to main content

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

I had to set up an entire Express.js server to run this lol. 

:3000/Build/Maze%20M…s.framework.js.gz:1 Uncaught SyntaxError: Invalid or unexpected token

The index.html file doesn't pass the header `Content-Encoding: gzip` because of this, the game doesn't run as the browser expects a plain JS file. I had to make an express.js server and tell it to manually pass the headers.

I thinks this error can be fixed when exporting from Unity.

Thanks for your suggestion, I'll check it out.

Now you can play this through the browser.