Sign in

How do you publish a Godot or Unity web export?

Export the game for the web, check the folder and upload it to Zaisma. It plays from one link in any browser, and a build without threads reaches every browser.

Export from Godot

  • Use Godot 4.3 or newer, the Web preset, with Thread Support off, its default. Godot 4.0 to 4.2 always use threads, which play only in Chrome and Edge.
  • Name the exported page index.html.
  • A Godot 4 project written in C# can't export for the web yet. Check Godot's notes for your version.

Export from Unity

  • Build for Web (WebGL), with Native C/C++ Multithreading off, its default.
  • Leave compression as it is: the upload command unpacks it, and Zaisma compresses the game itself.

Check, then upload

The check needs no key and sends nothing. It names what wouldn't work, with the fix. Make an API key in your developer settings to upload, and use your own game's name from its link.

Code
npx @zaisma/cli check ./build
export ZAISMA_KEY=your-key
npx @zaisma/cli new "Sky Hopper"
npx @zaisma/cli upload ./build --game sky-hopper

Online play in an export

A browser can't use UDP or host a match, so an engine's usual host-and-join doesn't run there. Use one of these instead:

  • Zaisma's rooms, called from Godot's JavaScriptBridge or a Unity .jslib plugin, with no server of your own.
  • WebSockets to your own server, such as a headless build of the same game.

The Zaisma skill's engines guide has the code for both, and covers GameMaker, Construct, Defold, Bevy and others.

Saves and big games

What a game keeps in the browser follows a signed-in player to their other devices, up to 5 MB, with no code. A version holds up to 20,000 files of up to 500 MB each. Load a big game in pieces, the menu first, so players start sooner.

Home