Skip to main content

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

Unity WebGL build wont upload even after I was granted extra space

A topic by ghaemer created Mar 09, 2021 Views: 1,203 Replies: 5
Viewing posts 1 to 3

I made a webGL game, and the zip folder is 1.1GB.  I asked for more space and I upped my upload limit to 4 GB. Then I tried uploading it through Butler, after editing the game and saying that "this game will be played in the browser" it gives this error: 

There was a problem loading your project:

Zip contains file that is too large (officialRelease/Build/officialRelease.data.unityweb)

Please try deleting the ZIP file and uploading another one.

I deleted the zip file, and tried uploading through the website and got the same error, this also happened when I made another build. I dont know why its happening I thought it was because I did not have a cover image so I made a quick one but that was not the issue(idk why I thought it was honestly). 

so when the file uploaded with Butler, it ticked the "web" button and it still gave me the error. Even when I uncheked it and said "it will be played in the browser"  I STILL GOT THE ERROR. I dont know if my build is messed up or not. All my unity files are converted to WebGL and so is my build. In the zip file when I open it, I see a "Build" folder, a "TemplateData" and a "index" as a Microsoft Edge file. Do I have to switch to Chrome or is there another issue. Please help.

Moderator

That's right. As explained in the FAQ, and mentioned less than a week ago, web games have tighter limits. It's not just about archive size. Please try to optimize your game, because the browser adds considerable overhead, and most players won't have top of the line PCs. Thanks.

(2 edits)

So I think the only way to decrease the size of my assets is to use asset bundles. I have quite a few assets from the asset store including some audio. If I use asset bundles, would that delete the tile maps that I have already done in my levels and would I have to reinstall the assets. That is why I've been scared to do it I do not want to loose my progress and have to recreate a bunch of levels.

can you please help me. 

Moderator

Sorry, I don't use Unity. Please ask in General Development.

Admin (1 edit)

We have these limits for a reason, if you aren’t familiar or capable of optimizing your game for browser play then we recommend offering it as a downloadable game.

https://itch.io/docs/creators/html5#zip-file-requirements

Based on what I can tell about your game from the screenshots you provided on your page, 1GB seems abnormally large, which suggests you are using uncompressed or un-optimized file formats, or potentially including additional assets that you game does not even use.

Thanks

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