You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug in detail:
Under the condition of having two udon behaviours on a single gameObject, when the first one is set to NoVariableSync, and the second is set to ManualSync, the gameObject will implicitly default to Continuous regardless of the second script.
Provide steps/code to reproduce the bug:
Create two scripts, one with NoVariableSync mode and the other with Manual.
Add a synced variable, like a string for example, to the Manual synced script.
On the manual sync script, add the OnPreserialization and OnDeserialization events with a log statement in each.
Add both scripts to the same game object. The order of the scripts don't matter.
Build and test and watch the logs get spammed with the serialization logs.
Expected behavior:
The GameObject should have sync mode of the first script in the order on the game object that is not of NoVariableSync. NoVariableSync should not be taken into consideration when choosing sync mode.
Additional Information:
Here's a sample video of the issue occurring:
Unity_2023-06-03_21-25-47.mp4
The text was updated successfully, but these errors were encountered:
Describe the bug in detail:
Under the condition of having two udon behaviours on a single gameObject, when the first one is set to NoVariableSync, and the second is set to ManualSync, the gameObject will implicitly default to Continuous regardless of the second script.
Provide steps/code to reproduce the bug:
Create two scripts, one with NoVariableSync mode and the other with Manual.
Add a synced variable, like a string for example, to the Manual synced script.
On the manual sync script, add the OnPreserialization and OnDeserialization events with a log statement in each.
Add both scripts to the same game object. The order of the scripts don't matter.
Build and test and watch the logs get spammed with the serialization logs.
Expected behavior:
The GameObject should have sync mode of the first script in the order on the game object that is not of NoVariableSync. NoVariableSync should not be taken into consideration when choosing sync mode.
Additional Information:
Here's a sample video of the issue occurring:
Unity_2023-06-03_21-25-47.mp4
The text was updated successfully, but these errors were encountered: