Normal

N

Normal

Join the community to ask questions about Normal and get answers from other members.

Join

🤝ask-a-question

💼jobs-and-opportunities

💾sample-code

🥂project-showcase

💭feature-request

✨normcore

💬chat

🚧wip-and-updates

Spawning

I need the realtime avatar manager to spawn the players at specific points. The players are spawning in different places each time.

Voice chat for WebGL

How to implement Voice chat for WebGL platform?

None authority

So I built this authority management component which manages authority on a single realtime view. The user can lease authority for a duration. However when they release authority, the realtime authority goes to none which means anyone can alter the model. I'm wondering if theres a option where no one can alter the models until someone claims authority and only then they may alter it?

OVR Hand Tracking implementation for VR

Hi. I've been trying to implement Normcore into a VR app that uses the default OVR Rigs, with Locomotion included. I'm using Unity 2022.3.4. The only requirement is that the players can see the other players hand tracking and their position in the scene, no need for interactions. I've been struggling to implement the hand tracking since there's not much information about it, but I've seen examples and I want to know what I'm missing. Thanks in advance.

Any way to block users from connecting?

Encountered a very determined hacker for our game today, who spoofed a bunch of API calls to avoid our existing moderation/banning systems. I'm realizing that since hackers can spoof any API calls to evade detection, the only real place we need to block them is on the Normcore server, to prevent them from connecting to any room to begin with. Will there ever be the ability to set up custom logic on the Normcore side? Separately, would love to know if anyone's been able to get Meta to help revoke entitlements lol.. I can block by hardcoding Meta User IDs (assuming these are difficult to spoof client-side from the Meta SDK?), but it's kind of a pain to push builds for something like this....

Timing of authority being granted on player prefabs from Realtime Avatar manager

if I spawn in a player prefab using the realtime avatar manager, what is the timing of them being granted authority over the prefab, is it after it has been spawned? generally I also want to know the timing and time taken to grant authority.

Ownership and Synchronized data

So my current setup uses a realtime avatar manager which spawns in player prefabs which all have a realtime model on them which stores player specific information that needs to sync like player user name. I'm a little confused about how the authority works in this situation. Does the player have full authority over their own prefba and what does this entail? my assumption and current understanding is that remote players shouldn't be able to edit their model data. also, if I have multiple instanc...

Possible to instantiate gameObject returned by InstantiateRealtimePrefab prior to calling it?

When talking to the AI for the docs it mentioned in the flow: LoadRealtimePrefab() InstantiateRealtimePrefab() ...

Calling the sitting animation

I am trying to call the sit animation for the Normcore Meta Avatar. Where can I find the script to call that animation?

How to know when scene object views are fully initialized

Want to know when is it sure that all the views and models of an object are initialized and connected to the room

StringKeyDictionary update

I'm a bit confused by the semantics of StringKeyDictionary. If I want to update a value at a given key, is that Insert?

Local Server

I'm working on a meta quest experience for 30 headsets in the same environment. I need to sync states and timers locally, with as low latency as possible. There is no voicechat and no avatars. Is it possible to run a local private server with Normcore on location, and keep the networking inside the local network, nothing in cloud? Is this a good fit with Normcore? There are probably more solutions for this, but I have experience with Normcore and find it intuitive to work with now....

OculusXR Quest Hands to OpenXR Hands migration

Hey guys - I'm currently trying to migrate my normcore app, which once relied on the sharing of quest hands over the OVRPlugin, to XRHands with the OpenXR plugin in Unity VR. Has anyone else performed this migration? I've been trying to modify my shared avatar so it uses the XRHands sample and I'm getting a bit tripped up by the model and rig and how they interact with the hand model. Currently I'm in a situation where my hand model obviously has all the wrong transforms - i.e. avatar nightma...

General unity callbacks ready to use with model?

When I spawn a realtime object, e.g., with addressables, is it guaranteed that the model will be connected and working in Start() and Update()? Also in Awake()?

Question about which is the best data structure collection to use for playing card deck sync

Question about which is the best data structure collection to use for this use case: I have a deck of playing cards. I want players to insert/remove cards at any arbitrary index in realtime. Ideally the deck card order is the same for all clients at all times. I've been using StringKeyDictionary with the card index as the key for my current implementation. But I see on https://docs.normcore.io/room/collections there's a tip at the bottom that says:
Tip: If you need a sorted collection that supports random removal, we generally recommend using either RealtimeDictionary with the key as the item index, or a RealtimeSet of models that can be sorted deterministically on all clients when the contents change.
...

DidChangeEvents

Do the did change events on values on models fire off on the client who set the model data? or just the remaining clients who haven't set that data? is there a way I can set it up so it actually ignores the client who set the model

Realtime (native): Client: Failed to send reliable datastore message. Disconnecting.

So I have a realtime dictionary which I use to store serialized objects. I serialiaze my custom data structure into a byte array and then stor it inside a byte array model which then goes into a real time dictionary. But in a certain context i just seem to be getting this error and it disconnects me. I'm try to understand why. I don't think the data is to long because it's fine setting it in different contexts.

Is there a way to change the email for a normcore account?

One of our team members created an account and has now left us. His email has been turned off and we need to transfer ownership to a new member. Is this possible?

Are there any bandwidth advantages to using RealtimeAvatar over my own model?

What the title says, I have funnily enough just discovered RealtimeAvatar and RealtimeAvatarManager and am wondering if I should transition to them? My current model syncs quaternions and vectors for the position and rotation of the left hand, right hand, and head unreliably. I'm wondering if RealtimeAvatar and such may do some funky things since I know a couple other networking solutions write components with ridiculously efficient custom compression and similar to fit the generic use case of s...

Determining whether ownership request succeeded

``` myObject.GetComponent<RealtimeView>().RequestOwnership(); if (myObject.GetComponent<RealtimeView>().isOwnedLocallySelf) { // Ownership request succeeded...
Next