Server Authority for VRChat Instances
Gamerexde
Right now VRChat's networking model relies on Photon Pun (or Fusion in shared mode, not really sure), in which there is no dedicated server authority, meaning players handle the synchronization and logic of the networked gameobjects. This was fine for a social platform, but VRChat is increasingly hosting competitive games, persistent RPG's, and complex experiences. The client authoritative model is becoming a serious bottleneck.
Some of the current issues are:
- Ownership fragility: If a player crashes or has a bad connection, their owned gameObjects undergo a halt, meaning no data is processed, and no data is synced. A single disconnect can cascade into a broken game state for the entire instance.
- No real anti-cheat is possible: Right now VRChat relies on Easy Anti-Cheat, script integrity checks and relying on creators to make their Udon functions non-networked, essentially stopping the player's machine from lying. EAC is very weak and bypassable with enough determination and skill, meaning that in a client authoritative model where all clients are trusted this is going to be and is a nightmare for some world makers. The industry figured this out years ago: every competitive multiplayer game of scale (CS2, Valorant, Fortnite, Apex and even Minecraft) uses server authority as the primary defense, and use client side anti-cheat mostly as a supplement.
- Small Bandwidth: These limits exist because the relay fans data through individual client connections. As worlds get more complex, creators constantly hit these walls, needing creator intervention to load balance the ownership.
- Latency: If the master or gameObject owner lives very far away from the relay server, it will cause slow response times for players near the relay server who are expecting low latency.
This of course is a highly difficult task the way Udon works and everything is architected, it won't be easy, but I think with some modifications this could be possible:
- Keep current ownership with abstraction
If instances became server hosted, keep the user ownership model with abstraction to make it work, this way legacy worlds keep working fine. Or keep them client authority with an optional way to opt in for server authority.
- Server owned gameObjects
This essentially replaces the master, the master by default is the server.
Let's say that in the UdonBehaviour you can tick an option called "isServerOnly", meaning that this gameObject when an instance is created, is owned by the server, and the server handles the syncing and serialization, because the server will be in charge of the game logic. The ownership can never be transferred to a client.
- Server validated persistence writes
Currently PlayerData is written by whatever the client reports. With server authority, persistence writes for server owned data go through server logic where validated operations get committed. This eliminates the entire class of persistence manipulation exploits, since the client can never decide what data is committed to VRC servers.
As a bonus this can increase write resiliency since it can handle data commits even if the client leaves the instance
VRChat's client authoritative model was a pretty good starting point, but it feels like a bottleneck for serious games who want to make VRChat their platform of choice. Every UGC platform at VRChat's scale (Rec Room, Roblox, Fortnite and Core) use a server authoritative model, and I think this is the way forward for VRC's future.
Log In
Puppet~
I really want to just highlight the security benefits and the perceived fairness of worlds that this would allow us to have.
Currently, we just kinda have to accept that if someone is crafty enough, that they can just cheat by modifying their client in some way. This is especially dangerous if a world has paid CE features and I can imagine that many creators shy away from doing anything bigger because they fear their in game economies will get destroyed very quickly by them.

Fax
Merged in a post:
Make Udon execute serverside
VoHeLi
Create a way to make Udon Behaviours executed server-side (by putting the server as the default owner of objects for instance).
This would allow more stability for multiplayer games. It could reduce by twice the latency and solve the problems when the master goes afk or crashes.
Moreover, it would simplify a lot the process of transferring the ownership while a game is running and the master leaves or crashes for example.
HostileLogOut
They 100% need to change their model. it does not work well as is and has so many issues. simple problems become annoying to deal with and more complex worlds are near impossible if not impossible because of the current Networking choices
techanon
This is antithetical to the way that udon networking works in VRChat currently, and probably won't be implemented anytime soon as it would require a complete rewrite of the networking codebase as well as requiring hosting active servers instead of the current networking relay setup that exists (as far as I understand it).