We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5862d9d commit 92e027aCopy full SHA for 92e027a
com.unity.netcode.gameobjects/Runtime/NetworkVariable/AnticipatedNetworkVariable.cs
@@ -387,6 +387,8 @@ public override void ReadField(FastBufferReader reader)
387
public override void ReadDelta(FastBufferReader reader, bool keepDirtyDelta)
388
{
389
m_AuthoritativeValue.ReadDelta(reader, keepDirtyDelta);
390
+ // Assure that the post delta read is invoked in order to update
391
+ // previous value.
392
m_AuthoritativeValue.PostDeltaRead();
393
}
394
0 commit comments