Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

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

Open
bdunderscore opened this issue Sep 16, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@bdunderscore
Copy link
Collaborator

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.

@bdunderscore bdunderscore added the bug Something isn't working label Sep 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant