Udon Decompiler

Installation

This document was translated from Chinese by an LLM.

This section describes how to install this project.

Install the decompiler

Please download a stable release from this repository’s Release page, or a nightly build from the fixed Nightly Release page. In particular:

  • linux-x64.ziplinux-x64.zip and windows-x64.zipwindows-x64.zip contain the executables
  • editor-scripts.zipeditor-scripts.zip contains the Unity Editor scripts

Obtain required resources

More specifically, to make decompilation work, you also need UdonModuleInfo.jsonUdonModuleInfo.json. It contains information about all C# functions that Udon programs can call. Due to the VRChat SDK License restrictions, we cannot distribute this file in the repository.

You can of course obtain this file from other sources, but we recommend generating it yourself with the following steps.

  1. Follow the VRChat creator documentation guide to create a Unity project with both VRChat Base SDK and VRChat World SDK installed
  2. Use VCC to ensure both SDK packages above are upgraded to the latest versions
  3. Extract editor-scripts.zipeditor-scripts.zip downloaded in the previous step
  4. Create an Assets/EditorAssets/Editor directory in that project and copy all editor scripts into that directory
  5. In Unity’s top menu bar, click Tools/Udon Decompiler/Extract Udon Module InfoTools/Udon Decompiler/Extract Udon Module Info
  6. The console should show logs like (numbers may differ)

    Registry lookup built with 34756 entries.
    Module info saved to: Assets/UdonModuleInfo.json
    Total modules extracted: 772
    Registry lookup built with 34756 entries.
    Module info saved to: Assets/UdonModuleInfo.json
    Total modules extracted: 772

    Then you can find UdonModuleInfo.jsonUdonModuleInfo.json in the shown directory