Web Player build is 20 Mb while the Stand-alone is 43 Mb ?

Heya!
I built my game a while ago for both Web and Windows, and notcied that the size of the Windows build is double the size of the Web build.

Does Unity perform some kind of compression ? Can someone please clarify this ?

I also have another question. Is 20 Mb an acceptable size for a Web game ? can players afford loading it ? Do you think I should be releasing the Windows build instead of the Web one ?

Unity’s core is already in the webplayer plugin whereas the window builds need to take it onboard, hence the size difference.

There are technics to help reduce the waiting of your players for web builds. You shouldn’t make them wait the entire game download, make sure the first scenes are lightweight so the game starts quickly and have some animations or whatever to keep your player busy or even better let them start playing your game before it’s done loading everything.

Thanks for the reply, I understand the difference now.
As for the time reducing tip, I actually only have a single scene in my game, it’s small one-level game called Proxy ( you can search for it after 2 days or so when I’ll release it). Thanks anyways, I’ll use this technique when I’ll be working on a project with multiple scenes.

You can always add a lightweight scene to make the loading time less painful to your users, but if you’re confident all your portential players are going to wait for the progress bar to complete then it’s fine.

Cheers

Yes I thought about this one, like making the start screen in a separate scene as well as the options and such. I will see whether I will implement or not.
Thanks!