Udon

Udon é um editor de programação orientada a objetos de alto nível, derivado de C#, para o SDK de Mundos do VRChat, criado pela Equipe de Desenvolvimento do VRChat e lançado em 2020 para o SDK2 e, posteriormente, para o SDK3.
Visão geral

O Udon permite que os usuários utilizem a interface de usuário Udon Node Graph para a criação visual de scripts, usando 'noodles' para conectar nós entre si e criar scripts avançados para Mundos. Os usuários também podem programar da maneira tradicional, usando o UdonSharp (U#), que permite o uso de uma sintaxe limitada de C#. O Udon também compila para seu próprio bytecode, conhecido como Udon Assembly, que pode ser interpretado pela plataforma VRChat.
O Udon é usado principalmente como substituto dos MonoBehaviors no Unity. O Udon foi projetado para interagir com segurança com a plataforma VRChat em um ambiente sandbox, com um conjunto selecionado de operações aprovadas para realizar várias ações, que podem ser opcionalmente sincronizadas pela rede. O Udon abrange uma ampla gama de operações nativas do C# e do Unity, bem como operações específicas do VRChat que podem ser usadas para criar mundos e experiências avançadas no VRChat.
History
Udon Toolkit was originally announced on a blog post[1] on June 20, 2018 and introduced as the "VRChat Node Graph", and was additionally discussed during a Developer Update video[2] on June 26, 2018 to replace the "Playmaker" toolkit, on early versions of the world SDK.
Udon officially launched on April 1, 2020 in an 'Open Alpha' state[3] with VRChat version 2020.1.1[4]. Users could upload worlds to VRChat using Udon scripts. In addition, VRChat also created a spotlight row in the World Menu, showcasing worlds utilizing Udon[5][6].
UdonSharp (U#)
UdonSharp, or U#, is a compiler that compiles C# into Udon's assembly code. UdonSharp was originally created as an open-source community project on February 7, 2020[7], by developer Merlin, and contributed to by other creators[8]. UdonSharp is now on the official VRChat Open Source repository.
How to make an U# script[9]
You can create an UdonSharp script the project window or the hierarchy window by following the steps below.
In the Project window
- Right-click in your project's asset explorer.
- Navigate to "Create" > "U# script".
- Click "U# script". This will open a file creation dialog.
- Choose a name for your script and click "Save".
- This will create a
.csscript file and an UdonSharp program asset that's set up for the script in the same directory.
In the Hierarchy window
- Create a new game object in your scene.
- Add an
Udon Behaviourcomponent to the object. - Below the "New Program" button click the dropdown and select "Udon C# Program Asset".
- Now click the "New Program" button. This will create a new UdonSharp program asset for you.
- Click the "Create Script" button and choose a save destination and name for the script.
Udon 2 (Soba)
On December 15, 2022, VRChat announced that their development team began working on a successor to Udon, which was given the working title of "Udon 2"[10]. The next update regarding Udon 2 would come on February 29, 2024 with a mention of the performance benefits and additional features it would bring[11], and another update on March 14, 2024 that showcased an example from the internal beta[12].
On November 25, 2024, previous plans for Udon 2 were dropped, and a new project would take its place, termed Soba[13].
Trivia
- "Udon" is a type of thick noodle, used in Japanese cuisine.
Official resources
- What is Udon? on creators.vrchat.com
- UdonSharp Docs on udonsharp.docs.vrchat.com
- World/Udon Bugs & Feature Requests on feedback.vrchat.com
Community resources
A list of community guides can be found in its main article: Community:Udon Guides.
- UdonSharp on github.com
References
- ↑ 'VRChat “Node Graph”, Playmaker, and Soon™'; retrieved September 6, 2024.
- ↑ 'VRChat Developer Update #4' on YouTube; retrieved September 6, 2024.
- ↑ 'Introducing VRChat Udon: Unlocking Coding for Creators' on Medium; retrieved December 16, 2024
- ↑ VRChat 2020.1.1 on docs.vrchat.com; retrieved December 16, 2024
- ↑ 'Udon Alpha Spotlight' on Medium; retrieved December 16, 2024.
- ↑ Archive (01/24/2020) - 'World Showcase' for Udon on ask.vrchat.com via Archive.org; retrieved December 16, 2024
- ↑ '0.1.0 Initial release' on github.com; retrieved September 13, 2025.
- ↑ 'Creator Toolbox Update' on VRChat's Blog, at hello.vrchat.com; retrieved September 13, 2025.
- ↑ 'UdonSharp' on creators.vrchat.com; retrieved September 13, 2025.
- ↑ 'Developer Update - 15 December 2022'; retrieved December 16, 2024.
- ↑ 'Developer Update - 29 February 2024'; retrieved December 16, 2024.
- ↑ 'Developer Update - 14 March 2024'; retrieved December 16, 2024.
- ↑ 'Developer Update - 25 November 2024'; retrieved December 16, 2024.