mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 19:10:32 +00:00
913a29dc6d
When a new client joins in between sending frames, server will serialize a current live position to the client. This may not be the last sent copy to everyone, so when the next send happens, the delta sent will be delta-ed against wrong data. Other changes: 1) Removed CheckLastSendTime() in OnSerialize(), not needed. 2) Only checking sending/set dirty in LateUpdate(). Other users may require positions updated in update, and do something to it on LateUpdate(). 3) Initialize last snapshot to zeroes in Reset(). For syncOnlyOnChange, sender will check against last sent snapshot for changes. This needs to be zero on a reset. |
||
---|---|---|
.. | ||
AudioManager.asset | ||
boot.config | ||
ClusterInputManager.asset | ||
DynamicsManager.asset | ||
EditorBuildSettings.asset | ||
EditorSettings.asset | ||
GraphicsSettings.asset | ||
InputManager.asset | ||
MemorySettings.asset | ||
NavMeshAreas.asset | ||
NetworkManager.asset | ||
PackageManagerSettings.asset | ||
Physics2DSettings.asset | ||
PresetManager.asset | ||
ProjectSettings.asset | ||
ProjectVersion.txt | ||
QualitySettings.asset | ||
SceneTemplateSettings.json | ||
TagManager.asset | ||
TimeManager.asset | ||
UnityConnectSettings.asset | ||
VersionControlSettings.asset | ||
VFXManager.asset | ||
XRSettings.asset |