This topic is not available in your language. Therefore, the original version (ja-jp) is displayed.
VRC0009: Type is not exposed to Udon
| Property | Value | 
|---|---|
| ID | VRC0009 | 
| Category | Usage | 
| Severity | Error | 
| Runtime Version | 3.1.0 ~ latest | 
Type is not exposed to Udon.
Example
Code with Diagnostic
using System;
 
using UdonSharp;
 
class TestBehaviour0 : UdonSharpBehaviour
{
    private IntPtr _ptr;
            ~~~~~~
 
    public IntPtr Ptr { get; set; }
           ~~~~~~
 
    public IntPtr SomeMethod(IntPtr ptr)
           ~~~~~~            ~~~~~~
    {
        IntPtr a = IntPtr.Zero;
        ~~~~~~
        return a;
    }
}Code with Fix
// NOT YET PROVIDED