Andrei Vaduva
Andrei Vaduva4w ago

Is SendRPCMessage sent instantly or at 20hz?

Is SendRPCMessage sent instantly or at 20hz?
3 Replies
kapa.ai
kapa.ai4w ago
Hi @Andrei Vaduva. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- The SendRPCMessage method in NormalVR does not explicitly mention whether it is sent instantly or at a rate of 20hz in the provided knowledge sources. However, it's important to note that Normcore, the networking solution used by NormalVR, serializes all updates once per network frame (~20hz) and groups them into the same packet. This includes changes to the datastore and changes in ownership or value on a model. However, the use of RPC messages is generally discouraged in Normcore due to the potential for desynchronization issues and the difficulty in debugging such issues. Instead, it's recommended to use the datastore and RealtimeModel for state synchronization across clients. For more specific information on how SendRPCMessage behaves, you may want to refer to the official NormalVR documentation (https://normcore.io/documentation/reference/classes/Normal.Realtime.Room). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai4w ago
<@1217086475661738045> kapa.ai is still learning and improving, please let us know how it did by reacting below
maxweisel
maxweisel4w ago
it’s sent instantly