Skip to content

[UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)] does not reset sync modes #117

@bdunderscore

Description

@bdunderscore

Describe the bug in detail:
When an UdonBehaviour component is set to None sync mode internally, changing the backing C# component to use [UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)] does not change it back to Continuous or Manual sync modes (and thus, RPCs remain unusable).

Provide steps/code to reproduce the bug:

  1. Apply [UdonBehaviourSyncMode(BehaviourSyncMode.None)] to a component.
  2. After U# applies this to the UdonBehaviour, change to [UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)]

Expected behavior:
The sync mode should be reverted to Continuous. Instead, it remains None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions