Navigation

VRC0014: Udon does not support variable tweening when the behaviour is in Manual Sync Mode

Property Value
ID VRC0014
Category Unexpected
Severity Warning
Runtime Version 3.1.0 ~ latest

Udon does not support variable tweening when the behaviour is in Manual Sync Mode

Example

Code with Diagnostic

using UdonSharp;

[UdonBehaviourSyncMode(BehaviourSyncMode.Manual)]
class TestBehaviour0 : UdonSharpBehaviour
{
    [UdonSynced(UdonSyncMode.Linear)]
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    private int _linear;
    ~~~~~~~~~~~~~~~~~~~~

    [UdonSynced(UdonSyncMode.Smooth)]
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    private int _smooth;
    ~~~~~~~~~~~~~~~~~~~~
}

Code with Fix

// NOT YET PROVIDED