Order of execution
This page describes the order of various coherence events and scripts in relation to Unity's main loop.
The following coherence components use a non-standard script execution order:
Component | Execution order |
---|---|
CoherenceMonoBridge | -1000 |
CoherenceSync | -900 |
CoherenceInput | -800 |
CoherenceLiveQuery | 900 |
CoherenceTagQuery | 900 |
CoherenceMonoBridgeSender | 1000 |
Execution order values can be found in the
Coherence.Toolkit.ScriptExecutionOrder
script.
Take a look at your project's Script Execution Order settings by opening Edit > Project Settings and selecting the Script Execution Order category. See this Unity manual article for more details.
Depending on the reason for a disconnection the
onDisconnected
event can be raised from different places in the code, including LateUpdate
.Last modified 2mo ago