Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Index.html not found for Unity upload

A topic by PeezMachine created Aug 07, 2018 Views: 1,801 Replies: 2
Viewing posts 1 to 2

I have recently uploaded (and and re-uploaded a bunch of times) a webgl version of a Unity project, but the game page says that it failed to find index.html. This is puzzling to me, seeing as how index.html is right there in the root of the uploaded zip file, right next to the Build and TemplateData directories that Unity creates. I'm confirmed that the structure is intact by downloading the zip I uploaded, and index.html is there as well. I have successfully run the game locally using Unity's "Build and Run" function. Is there something keeping itch in particular from seeing index.html?

Admin

Hello,

It looks like you selected the wrong file to embed onto the page. I checked out logs and it tried to embed the zip file containing the windows executable. Make sure you check the right file on your game's edit page. Tell me if you're still having trouble.

Thanks

(2 edits) (+4)

I am most definitely checking off circulos-grom5-web.zip for "this file will be played in the browser." HOWEVER I fixed the issue by moving the web zip to the top of the list. So on one hand, problem solved! On the other, this seems like a bug. Thanks for your time!

Edit: That was poorly written! To clarify, the windows version was being chosen because it was at the top of the "Uploads" list on my "Edit Game" page, even when the web version was flagged as the version to use. Moving the flagged web version to the top of Uploads made the game run properly on the page, but it seems like the flag is pretty much ignored in favor of just using the first version on the list.

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.