This topic is not available in your language. Therefore, the original version (ja-jp) is displayed.

VRC0007: Method is not exposed to Udon

PropertyValue
IDVRC0007
CategoryUsage
SeverityError
Runtime Version3.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
VRC0007: Method is not exposed to Udon / Udon Analyzer / Natsuneko Laboratory Docs