Bring WebAssembly code to VRChat worlds.
Compile to Wasm, drop the .wasm into Unity, call it from UdonSharp.
Install ·
First behaviour ·
Language packs ·
Examples ·
Benchmarks
Wasdon translates WebAssembly modules into Udon Assembly at build time. So the Rust crate, C
library or Zig code you already have can ship inside your world, and your UdonSharp scripts call
into it like any other Udon behaviour.
- Drop in a
.wasm. It imports as an Udon program asset. Put it on a GameObject and it gets
VRChat events, Inspector fields and synced state.
- Or link a project. A language pack builds your Rust, C, Zig (or C++, Swift, Go, Faust…)
project, and Unity rebuilds it whenever a source file changes, in Debug or Release.
- Check first. Not every module works: it depends on the Wasm features and host imports it
uses.
wasdon inspect module.wasm tells you before you import.
Supported features
Curious how far it goes? A procedural audiovisual world runs its score in C and its instruments in
Faust DSP. The examples run the Rhai and mruby interpreters on Udon, and a Wasm build of the Linux
kernel boots far enough to print its log up to the first task switch.
Faust DSP bindings · Rhai ·
mruby · Linux boot log
Install
Unity · Wasdon Worlds SDK
Add this VPM repository to your package manager, then open Manage Project and add
Wasdon Worlds SDK to a Worlds project.
https://github.com/anosatsuk124/wasdon-zig/releases/latest/download/vpm.json
| ALCOM | VRChat Creator Companion |
|---|
| Packages → Add Repository | Settings → Packages → Add Repository |
Unity offers to install the matching CLI under Library/Wasdon/SDK when you open the project.
Tools → Wasdon → Setup shows its version and lets you choose a local build.
Drop a .wasm into Assets/ to import an Udon program. Assets → Create → Wasdon also links
modules and language-pack projects anywhere on disk. Project assets rebuild changed dependencies
using the selected Debug or Release profile. Unity setup and migration
Command line
| Environment | Install |
|---|
| macOS or Linux | curl -fsSL https://github.com/anosatsuk124/wasdon-zig/releases/latest/download/install.sh | sh |
| Windows PowerShell | irm https://github.com/anosatsuk124/wasdon-zig/releases/latest/download/install.ps1 | iex |
| mise | mise use -g github:anosatsuk124/wasdon-zig@latest |
Release archives include the CLI, its Python runtime and the bundled packs for macOS (arm64/x64),
Linux (x64, glibc) and Windows (x64). The shell and PowerShell installers verify the archive's
SHA-256. To pin a version, set WASDON_VERSION to a release tag or replace latest in the mise
command with that tag. Language-pack authoring requires CLI 0.3.0 or newer, or a build from this
checkout. Build from source
Set up the Udon node catalog
In Unity, open your Worlds project and let it finish importing. Wasdon reads the installed SDK and
saves its node list under Library/Wasdon/udon_nodes.txt. It refreshes the file when the SDK version changes.
Using just the CLI? Install the .NET 8 SDK, then
run these commands in your project directory. Setup downloads the official Worlds SDK 3.10.6 ZIP,
verifies its checksum and writes .wasdon/udon_nodes.txt. The second command should list matching nodes.
wasdon nodes setup
wasdon nodes search UnityEngineDebug.__Log__ --limit 1
Setup is a one-time operation. Once generated, the catalog works offline. If you already have the
official package archive, use wasdon nodes setup --sdk-zip /path/to/com.vrchat.worlds-3.10.6.zip.
To use an existing export from another project or SDK version, set WASDON_NODE_CATALOG to its
absolute path. Catalog setup and troubleshooting
Agent skills