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

VRC0005: Udon does not currently support type checking with the `is` keyword

PropertyValue
IDVRC0005
CategoryUsage
SeverityError
Runtime Version3.1.0 ~ latest

Udon does not currently support type checking with the `is` keyword

Example

Code with Diagnostic

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

Code with Fix

// NOT YET PROVIDED
VRC0005: Udon does not currently support type checking with the `is` keyword / Udon Analyzer / Natsuneko Laboratory Docs