Expose unique user IDs to Udon
Merlin
Now that web connectivity will likely require some form of consent from the user when using Udon, I think it's a reasonable request to ask for an actual unique user ID that we can use to identify users. This could be used to do things like enable a debug console in the world, or when web connectivity is back, save progress or settings in a world.
Right now people are using display names as "unique" identifiers which isn't good and already has issues since it's a display name. One issue is https://vrchat.canny.io/vrchat-udon-closed-alpha-bugs/p/onplayerjoined-doesnt-get-full-displayname-for-steam-users
Another issue is that "special" characters like "." get replaced in the display name with lookalikes which breaks string comparisons.
Relying on display name to "uniquely" identify people will become more prevalent as time goes on and people make commonly used systems that depend on them. You should expose this sooner rather than later to avoid this issue.
The potential for abuse is obviously possible, but there's no reason to kneecap the systems and introduce potential issues by leaving only display names visible. Right now I can reasonably target people with just their display names, it's just possible that there will be some more people with the same name that get targeted. Worlds abusing names to harass people is something that should be reported on a world basis.
Log In

Fax
Merged in a post:
Allow us to get UserID of a VRCPlayer
Netcat~
For UDON admin interfaces or whitelisted areas etc. it would be great to have GetUserID or something like that exposed, It's been a real struggle with people with special characters in their display name, UserIDs would make the process so much cleaner, and more reliable
『Gecko』
This would be a feature that is urgently needed. I am sick and tired of reediting the Patreon lists all the time with the users swapping their names every 30 (with VRC+?) / 90 days with some silly and most of the time annoying ASCII symbols, which I am tired to fiddle out, which one of the arabic, kanji or whatever symbols they used, as they look way different outside of the VRC's font renderer.
Besides of the obvious benefit of saving us a lot of work, it would also mean, no one would be able to impersonate someone else in the system. I don't want people to use my admin-panel in my worlds to gain access to critical functions and benefits, if they find a way to exploit the displayname fetcher, which may happen, as people are able to inject their scummy scripts into worlds like FISH! (VRC's cashcow) and others to have purchased-item benefits for no cost.
But VRC employees do simply not care about world developers, as long as they are not making them a ton of money. I was asking for years to expose the damn radial expression menu to Udon, because of the world menu I've created, that triggers while the radial menu is being present. It just annoys me. It is not professional, nor do I have the time to figure out what restrictions Udon will throw at me all the time, when I try 10 different approaches of pseudo-registering the expression menu popup. I am tired of it.
Sаvi
2026 bump
This is still one of the biggest gaps in Udon. Persistence helped with save data, but it can’t be set up before a player visits, players can wipe it, and it doesn’t carry across a creator’s worlds. Display names remain the only way to recognize someone, and they change constantly.
What user IDs would enable
Event and staff whitelists: DJs, dancers, performers, and staff are whitelisted for stages and controls, and many change names often. IDs never break on a rename, can’t be faked by copying a name, and are easier to add, since you can just copy the ID from someone’s profile.
Player-specific redeem codes and rewards that can’t be shared or reused by someone else.
Creator Economy perks that line up with records kept outside VRChat, like Patreon tiers or event tickets.
Save data that works like other games: Steam exposes SteamIDs and Roblox exposes UserIds. Persistence already ties data to the account internally, so we’re only asking for access to that identity.
Repeatable gimmicks, like a love tester that gives the same result for the same two people, even after a name change.
Addressing abuse concerns
The main worry is shared ban lists. Those are already against the rules, and anyone can compile a list of display names today. Withholding IDs doesn’t stop that. It only makes legitimate tools break.
User IDs are also already public in every VRChat.com profile URL. VRChat already shares VRC+ status and Creator Economy owner names with Udon, so this follows the same pattern.
Proposal
Expose raw user IDs to Udon. This is the simplest and most useful option.
If more protection is needed, use a per-world ID: hash(userId + worldId). It stays consistent within a world but can’t be matched across worlds.
Either way, let creators link their own worlds so the same player is recognized across a creator’s hub, event, and game worlds.
Optionally limit access to verified creators, such as Creator Economy participants.
World creators are already responsible for what we upload and the rules we follow. User IDs would let us run safer events, offer unique redeems and perks, and keep whitelists tied to the person instead of a name that can change at any time.
П J П Λ
I've honestly been hoping for a feature like this for years. The few times I've changed my display name has caused major havoc for all the venues I perform at. Having to manually contact each of the world owners and have them update their whitelists is tedious at best.
Cøzen
World creators can already "blacklist" people based on their displaynames. If the reason this hasn't been implemented is the fear of blacklisting based on user ID instead, that could simply be reported if it's being abused. The more pressing security issue is obviously that worlds can't protect against spoofing at all without unique IDs! I would much rather let users have the IDs and deal with reporting the few world creators that abuse the system than leave every world/udon asset unprotected against the most basic displayname spoofing attack.
Invertex
If the VRChat team is worried about data-collection concerns from having a unique ID exposed between different worlds, or the creation of ID-based ban lists, there is an alternative solution:
Add a secondary private ID to all accounts (not exposed to the account owner either), and then the Worlds API can have a function to request "getWorldUniqueUserID()".
VRC central server would then respond with an ID that is generated based on that internal hidden private ID, plus the world ID, and a secret global key only VRC knows about.
This would provide an ID that remains consistent for each user in a per-world context, but would prevent reverse-engineering to expose any cross-world trackable information.
It would allow save files to be created in a world that can be both secure and still be restored even if a user completely resets their persistent data (or it gets corrupted). Only breaking if a world is deleted and uploads to a new World ID.
This would also not add any significant load on VRChat's servers, as it would only calculate it if the call is even made, and cache the result to prevent further calls.
-----------------------------------------------
Thinking further into the future, this system could be expanded by replacing the "world ID" part of the unique ID generation with a "shared world ID", allowing a set of worlds to have a secondary "shared ID" value if approved to be linked together. This way if some experiences need to be split across multiple worlds, they can still share the same per-world unique ID for the user.
(But that is something that would have to be approved for linking to avoid large networks of linked worlds just to force shared IDs.)
Kitto Dev
This would be nice for whitelisting, because as far as I know, the only way that is exposed to Udon for identifying players is the display name, but if the player changed their display name, that won't work for them anymore until the whitelist is updated. Unless you use some kind of Persistance to fix this issue, there is no other workaround with that. Though this could be a problem for Blacklisting as someone else also pointed out, this could be a definitive way to ensure a player doesn't lose access to areas, like from supporting a creators patreon to access special areas, or whitelisted features like a infinite ammo in weapons in game worlds.
Kyrah Abattoir
So many maps are grossly insecure due to this, and most scripted moderation tools are incapable to deal with something as simple as a display name change.
I get the fear of people making ban lists, but there are already reporting functions for this, it isn't something that need to be solved on the technical side.
It even hinders the ability for games to keep track of players that leave the instance and rejoin.
akki~
Why is this not implemented still?
We can already create filter lists for admin panels, vips, etc.. so this is not the concern.
We NEED this implemented so cheaters wont get access to admin panels or vip features by spoofing display name.
Chrono Ky
I don't agree with this. This is a slippery slope
While the beneficial side is allowing an online white listed area ..
It can also be abused for malicious intent
VrChat ToS says that creating a white list area is okay but maintaining a blacklist, especially when it prevents the user from enjoying the world that is publicly released can be done.
Imagine that you're friends with a VrChat game world creator. You guys had a stupid falling out that had nothing to do with the game
Some of your friends asked to join you to your former friends game world to have fun
You accept and enter the world. Udon reads your username and insta teleports you to a blocked area
While this may not prevent them from entering the world, this essentially creates a blacklist and punishment that a world creator that made a public world, can whimsically decide who can and can enter their public world
It's a slippery slope
KonKin
Chrono Ky the behavior you mentioned already happens in some club worlds without access to the userID, this would not change that behavior, this is for a more accurate reading of playerlisting.
ElectricPyroFox
Chrono Ky It is against vrchat TOS to do exactly that. and vrchat is VERY strict on this as it will get you banned for months the moment you add it to your world. it is possible to do it without udon already, but not with udon. Reasons to do this with udon is things like blacklisting users who use clients or cheat. while cheating and using a client in a single person game is fine, multi-player is not ok.
Load More
→