Get instance Type
PhaxeNor
Allow us to get what type of instance the user is in.
This way we can add different behavior for public and private instances.
Log In

Fax
Merged in a post:
[Request] Instance Type node(s)
PhaxeNor
Get what instance type you are in. Public, Friends, Friends+, Invite+, Invite
Single node can return string
Multiple nodes for each type can return bool

Fax
Merged in a post:
Udon API to Retrieve Instance Visibility (Public / Friends+ / Invite, etc.)
narazaka
I saw in the Dev Update that the person who creates a Public instance will become its moderator. However, I suspect this means that checking whether the instance owner is null to determine if an instance is Public will no longer work.
I believe there are some situations where the distinction between Public and Private instances matters, so ideally, I'd like to see a Udon API that allows us to retrieve the instance's visibility type (Public, Friends+, Invite, etc.).
(Actually, why isn't such an API available already?)
ja:
Publicインスタンスを作成した人がモデレーターとなるというDev updateを見ましたが、これによっておそらく「インスタンスオーナーがnullならPublicである」という判定が効かなくなると思います。
Public/Privateインスタンスの別が意味を持つことは往々にしてあると認識しているので、ワールドの可視性(Public/Friends+/Invite etc.)が取得できるUdon APIがあると理想的だと思います(逆に今は何故ないのでしょうか?)。
Natsumi-sama
This change is long overdue. The pending change will break many worlds that depend on
VRCPlayerApi.isInstanceOwner
for distinguishing when an instance is public. For example when a world exposes settings only available to private instances, keeping state of public instances known and consistent. Having to join every instance just to find out what state it's in is going to be a pretty bad user experience.Deantwo
Duplicate of tracked issue: https://feedback.vrchat.com/udon/p/request-instance-type-nodes
NovemberFrog
I have vast use for this
SeraphicOrange
Such a useful feature! I can see why the devs are reluctant to add this- but anything that could possibly happen with this already happens.
Kitto Dev
This could be a useful thing to have in Udon, maybe even optimization by hiding heavier things in publics? It's a nice idea.
ᴍᴀʏᴄᴇ
I cannot believe this isn't already in the SDK... we needed this YEARS AGO
BriannaBoonana
this would allow way more flexibility and features for worlds!
WulfTheHusky
Yes please.
Load More
→