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

VRC0006: The `as` keyword is not yet supported by Udon

PropertyValue
IDVRC0006
CategoryUsage
SeverityError
Runtime Version3.1.0 ~ latest

The `as` keyword is not yet supported by Udon

Example

Code with Diagnostic

using UdonSharp;
 
class TestBehaviour0 : UdonSharpBehaviour
{
    public void TestMethod()
    {
        var a = "";
        var b = a as object;
                ~~~~~~~~~~~
    }
}

Code with Fix

// NOT YET PROVIDED
VRC0006: The `as` keyword is not yet supported by Udon / Udon Analyzer / Natsuneko Laboratory Docs