WebGL JavaScript console error: uncaught exception: incorrect header check

I don’t kow how to fix this. I am using Firefox 50.1.0. I also tried Chrome 55, but I get the same error.

Here is the link.

That’s a localhost address, no one is going to be able to access it.

Yeah. I just got it to work. For some reason, the local host from Build and Run won’t work, but the game will work if I run the index.html file. It works on Firefox, but not on Chrome because the latter doesn’t support Unity WebGL.

1 Like

I also found that if your selected path has spaces in it it won’t work either. Try removing spaces from the publication path and build again.

Thanks Jason!
Was having the same problem and removing the spaces from the build folder corrected the issue.