This topic is not available in your language. Therefore, the original version (ja-jp) is displayed.
VRC0010: Cannot sync variable because behaviour is set to NoVariableSync, change the behaviour sync mode to sync variables
| Property | Value | 
|---|---|
| ID | VRC0010 | 
| Category | Unexpected | 
| Severity | Warning | 
| Runtime Version | 3.1.0 ~ latest | 
Cannot sync variable because behaviour is set to NoVariableSync, change the behaviour sync mode to sync variables
Example
Code with Diagnostic
using UdonSharp;
 
using VRC.Udon.Common.Interfaces;
 
[UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)]
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class TestBehaviour0 : UdonSharpBehaviour
{
    [UdonSynced(UdonSyncMode.Smooth)]
    private int _var;
}Code with Fix
// NOT YET PROVIDED