Udon Decompiler

Installation

This document was translated from Chinese by an LLM.

This section describes how to install this project.

Install the decompiler

  1. We use uv for Python project management, so before installing this decompiler, please follow the uv official guide to install uv
  2. Install this project as a tool

    uv tool install git+https://github.com/paran3xus/udon-decompiler.git
    uv tool install git+https://github.com/paran3xus/udon-decompiler.git

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 许可证 restrictions, we cannot distribute this file in the repository.

You can get this file from other sources, but since later steps reuse the project created here, 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. Create an Assets/EditorAssets/Editor directory in that project and copy all editor scripts from this project here into that directory
  4. In Unity’s top menu bar, click Tools/Extract Udon Module InfoTools/Extract Udon Module Info
  5. 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