Skip to content

Commit 09d9e7f

Browse files
committed
added a protocol notification
1 parent 7fa1241 commit 09d9e7f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Basis/Packages/dev.hai-vr.basis.comms/Scripts/Systems/Runtime/Components/Networking/HVRVariableNetworking.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -788,6 +788,10 @@ public void OnPacketReceived(byte localIdentifier, ArraySegment<byte> data)
788788
{
789789
highFrequencyInterpolatorDict[addressId] = DecodeFloat(packet.values[index], highFrequency);
790790
}
791+
else
792+
{
793+
HVRLogging.ProtocolError($"Network ID {highFrequency.networkId} is not known. High frequency value will be ignored.");
794+
}
791795
}
792796
}
793797
_highFrequencyInterpolator.Add(new HVRInterpolationSnapshot

0 commit comments

Comments
 (0)