How do I share a Unity WebGL game and get players?

Share a Unity web build on itch.io, which plays a ZIP with index.html in the browser, or on your own site, and list that play link on Foundplay so people looking for games find it. Before you promote it, match Unity's compression setting to the host: the server has to send a Content-Encoding header for gzip or Brotli files, or the build needs Decompression Fallback. Then make the page fill the screen and test it on a real phone.

Checked November 22, 2026 against Unity's Deploy a Web application docs and itch.io's HTML5 upload docs. Written by Foundplay, a game discovery platform for free browser games. Foundplay also sells Boost, a paid promotion for games, and this guide says where it fits. The advice before that part works without it. All guides

Where to share a Unity web build

  • itch.io. Zip the build with index.html at the top level, upload it and mark it to be played in the browser. itch.io's docs set limits for a web build: no more than 1,000 files, 500MB in all once extracted and 200MB for any one file. They also say itch.io sets the Content-Encoding header itself for gzip files and for files ending in .br, so a compressed Unity build can play there without Decompression Fallback.
  • Your own site or a static host. You choose the domain and can set the headers Unity's docs ask for. Check the host's own rules on headers and file sizes first.
  • Foundplay. List the play link from either place, itch.io or your own site. Foundplay sends players there and doesn't host the build.
  • Communities for your genre, and jams that accept web builds, for your first players.

What the build gives you

Unity's Web build writes a page and a Build folder that holds a loader script, a framework script, the .wasm WebAssembly file and a .data file with your assets and scenes. Upload all of it and keep the structure. Unity's docs say opening the build straight from your disk might not work in some browsers, so test from a local web server or the editor's build-and-run.

The Name Files As Hashes option names each file after its content, so an update only uploads the files that changed and players don't get a stale mix of old and new.

Compression and headers

  • Gzip is Unity's default. Unity's docs say gzip files are bigger than Brotli files but faster to build, and every browser supports them over both http and https.
  • Brotli makes the smallest files but takes longer to build, and Unity's docs say Chrome and Firefox only support it natively over https.
  • Disabled leaves compression to you, for your own post-processing or for a host that compresses files itself.
  • The setting is under Edit, Project Settings, Player, Web, Publishing Settings, and it applies only to release builds. Development builds aren't compressed.

With gzip or Brotli on, the server has to send Content-Encoding: gzip for the .gz files or Content-Encoding: br for the .br files, so the browser can unpack them while they download. Unity's manual has server configuration samples for this.

Decompression Fallback and WebAssembly streaming

Decompression Fallback is off by default. Turned on, it puts a JavaScript decompressor in the build and gives the files a .unityweb extension, so the game loads on a host that can't send the headers. Unity's docs say it makes the loader larger and loading less efficient, and that the browser's own decompression starts the game faster. Use it when you can't configure the server.

Serve .wasm files, compressed or not, with Content-Type: application/wasm. That lets the browser compile the code while it downloads, which Unity's docs say makes loading much faster. Streaming doesn't work with Decompression Fallback on, which is one more reason to prefer the headers.

Load time on phones

  • Turn off Development Build and set Code Optimization to Disk Size with LTO for the release. Unity's docs warn that these builds can take a long time, so use a faster setting while you work.
  • Load assets on demand with the Addressables system, shrink audio and graphics, and lower the quality level for phones.
  • Replace the default loading bar with one that fits your game, and add a tap-to-start screen, which also unlocks sound.
  • Test with the network throttled in your browser's developer tools. A first load that feels fine on your computer can take a long time on mobile data.

Unity's docs list iOS Safari 15 and newer and Chrome 58 and newer on Android as the phone browsers its Web platform supports, and recommend the latest versions. Pick a page template that fills the screen and follows its shape, so the game isn't a small box on a phone. If the game needs a keyboard, say so when you list it.

What doesn't carry over to the web

  • Raw network sockets. Browser games use WebSockets or WebRTC, so a networking library has to support them.
  • Threads. Check which of your packages need them, and whether they work in a web build.
  • Saving to the disk. Use browser storage, and know it can be cleared.
  • Large memory use. Phones run out of memory first, so keep scenes and textures lean.

How Foundplay can help

Foundplay is a game discovery platform for free browser games. It doesn't host games: every listing sends players to the creator's own site.

The free listing

Listing a game is free. Paste the link where people play it at /submit, check the details and publish. The game goes live right away, and Play sends players to your own site.

Paste your itch.io page or your own site's address. When Foundplay finds Unity's signs on an original game's play page, the game shows up among Unity games on Foundplay, and the engine checker shows what Foundplay reads on any web game's page. Mark whether the game works on phones, and say if it needs a keyboard.

Boost, the paid option

Foundplay sells Boost, so it has a reason to want you to buy it. The free listing works without it.

Unity builds make a slow first load likely, and the plan called Boost shows how strangers handle it: check your host's logs or your own analytics for who stayed. Foundplay counts the click on Play.

The Boost plan costs $10 for 30 plays in 5 days, which works out to 33¢ a play. Where it shows: Your genre's game pages, the top of matching searches and surprise me picks.

A play is a counted click on Play from a sponsored spot, the same way public play counts work: once per game per network a day. Every sponsored spot is labelled Sponsored, and the share of plays not delivered by the end of the plan's days is refunded automatically. Foundplay can't see what players do after the click. Fan games and copies of commercial games can't be boosted. A game has to be listed before it can be boosted. List it first, or start a Boost and add your play link there, and Foundplay lists the game for free as part of the same flow.

For scale, Foundplay's own visit counter shows an average of 3,000+ visitors a day over the last three full days, and 3,500+ games are listed. It updates every few minutes.

More free ways to find players are in the full guide.

Questions

Where should I promote a Unity WebGL game?
Put the build on itch.io or your own site, list that link on Foundplay, then share it in communities for your genre and in jams that take web builds. Fix the load time first, since every place sends players to the same first load.
Why do I get a decompression or Content-Encoding error on my Unity WebGL game?
The host isn't sending the Content-Encoding header that matches Unity's compression setting. Set the header on the server, switch on Decompression Fallback, or set compression to Disabled, then rebuild and upload again.
Should I use gzip or Brotli for a Unity web build?
Gzip is the default and Unity's docs say every browser supports it over http and https. Brotli makes smaller files, but Unity's docs say Chrome and Firefox only support it natively over https, so use it on an https host that can send Content-Encoding: br.
Can I put a Unity WebGL game on itch.io?
Yes. Zip the build with index.html at the top level, upload it, and mark it to be played in the browser. itch.io's docs say it sets the encoding header for gzip and .br files, and limit a web build to 1,000 files and 500MB once extracted.
Does Foundplay host Unity games?
No. Foundplay lists the game and sends players to your host. Your build, bandwidth and server settings stay with you.