Unity's WebGL not working with Firebase Hosting
问题 I'm trying to deploy a WebGL built with Unity to Firebase Hosting, but I'm getting an error: Invoking error handler due to Uncaught SyntaxError: Unexpected token < . I can run it fine on localhost, though. I'm using the production build, not the development one, so I have the following file structure: index.html Release UnityLoader.js webgl.datagz webgl.jsgz webgl.memgz TemplateData (image, css and js files) Any ideas? Anyone faced this issue before? 来源: https://stackoverflow.com/questions