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

VSC0010: Generic method declarations on UdonSharpBehaviours are not currently supported, consider using a non-UdonSharpBehaviour class

PropertyValue
IDVSC0010
CategoryCompiler
SeverityError
Runtime Version3.1.0 ~ latest
Compiler Version1.0.0 ~ latest

Generic method declarations on UdonSharpBehaviours are not currently supported, consider using a non-UdonSharpBehaviour class

Example

Code with Diagnostic

using UdonSharp;
 
class TestBehaviour0 : UdonSharpBehaviour
{
    public void TestMethod<T>() {}
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}

Code with Fix

// NOT YET PROVIDED
VSC0010: Generic method declarations on UdonSharpBehaviours are not currently supported, consider using a non-UdonSharpBehaviour class / Udon Analyzer / Natsuneko Laboratory Docs