Different sync behavior modes affects script execution order
Shiro K
Scripts with different sync behavior modes starts not in the same frame. That makes it impossible to control the order of start in combination with the DefaultExecutionOrder attribute.
Example:
[UdonBehaviourSyncMode(UdonSharp.BehaviourSyncMode.None)]
public class BehaviourSyncModeNone : UdonSharpBehaviour {
}
starts before:
[UdonBehaviourSyncMode(UdonSharp.BehaviourSyncMode.Manual)]
[DefaultExecutionOrder(-1000000)]
public class BehaviourSyncModeManual : UdonSharpBehaviour {
}
World to reproduce (Bug Booth 1):
Log In
Vistanz
I find this bug too (by logging the Start() calls on every component I'm working on), I have a video player system that require precise control on the initialization order to avoid null references, and this bug crashes it.