Skip to main content

Network Stats

A number of networking stats are available to Udon via the VRC.SDK3.Network.Stats static class.

Global Network Statistics

NameTypeDescription
ThroughputPercentagefloatA running average of the amount of allowed output data throughput currently in use.
RoundTripVariancefloatThe statistical variance in transport time to our servers and back again.
BytesInMaxfloatThe maximum bytes received in a second.
BytesOutMaxfloatThe maximum bytes sent in a second.
BytesOutAveragefloatThe running average of bytes sent per second.
BytesInAveragefloatThe running average of bytes received per second.
HitchesPerNetworkTickfloatA running average the recorded number of missing samples.
SufferingfloatA measure of the number of queued outbound messages.
TimeInRoomfloatThe length of time spent in the current instance.

Per Game Object and Per Player Statistics

All game object statistics will return the default value if the object is not synchronized over the network, or is not in any other way networked.

NameTypeDescription
UpdateIntervalfloatThe running average of time between the sending of network messages for this object.
ReceiveIntervalfloatThe running average of time between the receipt of network messages for this object.
FinalDelayfloatThe synchronization time adjustment for the object.
GroupintAll objects are grouped with nearby relevant objects for the purposes of network synchronization; this number represents the group the object is currently associated with.
GroupDelayfloatThe running average of the synchronization adjustment for all objects in the object's associated group.
Sleepingbooltrue if the object is at rest and not sending or receiving network messages.
SizeintThe size, in bytes, of the most recent network message associated with this object.
BytesPerSecondAveragefloatThe running average of the network throughput for the object, in bytes.
TotalBytesintThe total network data consumption for the object.
ReliableEventsInOutboundQueueintThe number of manual synchronization and other reliable events currently enqueued to send for the object.
LastSendTimefloatThe last time a message was sent on behalf of the object.
LastReceiveTimefloatThe last time a message was received for the object.