Navigation
This page has not been translated yet. Showing the default language version.

VRC0007: Method is not exposed to Udon

Property Value
ID VRC0007
Category Usage
Severity Error
Runtime Version 3.1.0 ~ latest

Method is not exposed to Udon.

Example

Code with Diagnostic

using UdonSharp;

using UnityEngine;

class TestBehaviour0 : UdonSharpBehaviour
{
    public void TestMethod()
    {
        GetComponent<Rigidbody>();
        ~~~~~~~~~~~~~~~~~~~~~~~~~
    }
}

Code with Fix

// NOT YET PROVIDED