I tried to upload my game to sharemygame.com . But I got this error - unexpected error (1) when parsing index file. I have followed the whole process but I am not able to upload. Even when I try playing my game by double clicking my index file this shows up -
Hi nina, When I check the console . This is showing -
It is saying this about CORS -
from origin ‘null’ has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes:
Theoretically, the CORS issue should not be a problem if you upload your game to a website. For testing the game locally, I usually set privacy.file_unique_origin to false in the settings of Firefox, then set it back to true when I’m done. See here. (You do not have to download anything.)
The last message could refer to a problem. sharemygame.com does not support gzip compressed builds. Set the Compression Format in Edit > Project Settings > Player > WebGL > Publishing Settings to “Disabled”, build your game again and try to upload it again.