Hello there, I was wondering if somebody would be able to help me.
So I am trying to publish my game - Web GL to a web browser and I have run into some difficulties. I have found a few posts and answers online but none quite cut are exact to what I am trying to achieve. I have made a rough and ready - show and tell micro graphic adventure game. When I 'build and run' it works.
But when I publish the game outside of unity - I get this error:
***> "Failed to download file> Build/Test-GL2.data.gz. Loading web> pages via a file:// URL without a web> server is not supported by this> browser. Please use a local> development web server to host Unity> content, or use the Unity Build and> Run option."*** Now, I don't want to run this on my computer as local server - no way. ( if that is the only issue ) But I have a domain hosting platform I can use.
Also, how to i make this Web GL / HTML5 so I can potentially add it to a platform such as ITCH.IO. Anybody with past knowledge feel free to chuck your 2 pence in. p.s if it is helpful I have published some micro games around 5 years ago and used on my website... but how do I package this more effectively? Thank you for your help! ![alt text][1] ![alt text][2] [1]: /storage/temp/202758-screenshot-2022-12-09-at-101228.png [2]: /storage/temp/202759-screenshot-2022-12-09-at-101336.png
But when I publish the game outside of unity - I get this error:
***> "Failed to download file> Build/Test-GL2.data.gz. Loading web> pages via a file:// URL without a web> server is not supported by this> browser. Please use a local> development web server to host Unity> content, or use the Unity Build and> Run option."*** Now, I don't want to run this on my computer as local server - no way. ( if that is the only issue ) But I have a domain hosting platform I can use.
Also, how to i make this Web GL / HTML5 so I can potentially add it to a platform such as ITCH.IO. Anybody with past knowledge feel free to chuck your 2 pence in. p.s if it is helpful I have published some micro games around 5 years ago and used on my website... but how do I package this more effectively? Thank you for your help! ![alt text][1] ![alt text][2] [1]: /storage/temp/202758-screenshot-2022-12-09-at-101228.png [2]: /storage/temp/202759-screenshot-2022-12-09-at-101336.png