This commit is contained in:
vis2k 2022-10-30 18:53:57 +01:00
parent b0f0c38592
commit 3d3a542ddd

View File

@ -1809,6 +1809,10 @@ internal static void NetworkLateUpdate()
// snapshots might be sent way too often, etc.
//
// during tests, we always call Broadcast() though.
//
// also important for syncInterval=0 components like
// NetworkTransform, so they can sync on same interval as time
// snapshots _but_ not every single tick.
if (!Application.isPlaying ||
#if !UNITY_2020_3_OR_NEWER
// Unity 2019 doesn't have Time.timeAsDouble yet