This topic is not available in your language. Therefore, the original version (ja-jp) is displayed.
VSC0014: Does not support null conditional operators
| Property | Value | 
|---|---|
| ID | VSC0014 | 
| Category | Compiler | 
| Severity | Error | 
| Runtime Version | 3.1.0 ~ latest | 
| Compiler Version | 1.0.0 ~ latest | 
Does not support null conditional operators
Example
Code with Diagnostic
using UdonSharp;
 
class TestBehaviour0 : UdonSharpBehaviour
{
    public void TestMethod()
    {
        string a = null;
        string b = a?.ToLowerInvariant();
                   ~~~~~~~~~~~~~~~~~~~~~
    }
}Code with Fix
// NOT YET PROVIDED