Udonite

Write VRChat world logic in ordinary Unity C# and let Udonite compile it to Udon.

Udonite compiles ordinary Unity C# to Udon. There is no dialect to learn and no list of forbidden keywords to memorise: the C# you already write in Unity is the C# that runs in your world.

Anything Udon genuinely cannot do is refused by name, with a code and a suggested rewrite, so nothing is ever silently dropped.

Install

Buy Udonite, then add the personal package link from your account (udonite.com/dashboard) to the VRChat Creator Companion, add Udonite from the package list and activate it in Unity with your licence key. It needs the current VRChat Worlds SDK and Unity 2022.3, and carries its own compiler libraries, so there is nothing else to install. If you used Udonite while it was free, it stays free: Getting started shows how to claim your licence.

Where to go next

Getting started walks from an empty project to an uploaded world.

Project setup covers which scripts become programs, how assembly definitions fit in, and how to keep code out of Udon.

Language support is the honest list of what compiles and what Udon can never run.

Networking covers synced fields, custom events and typed network events.

Diagnostics explains every refusal code.

Start

  • Getting startedInstall Udonite, write a behaviour, compile it, and upload the world.
  • Your first worldA button anyone can press and a count every player sees, from an empty project to an uploaded world, in about fifteen minutes.
  • Project setupWhich scripts Udonite compiles, how assembly definitions fit in, and how to keep code out of Udon.

Guides

  • SingletonsOne behaviour per scene, reached from anywhere as Type.Instance.
  • InterfacesWriting one piece of code that works with several kinds of thing, and picking the right tool for classes and for components.

Reference

  • Language supportWhat compiles today, and the parts of C# that Udon can never run.
  • DiagnosticsEvery UDN refusal code, what triggers it, and what to write instead.
Something went wrong Reload