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

RealtimeTransform bandwidth question

does a RealtimeTransform continuously send values for position rotation etc on a transform that is not moving?

What is the best way to sync object references across clients?

I want to be able to synchronize a reference to a game object accross clients? Currently, the way I'm doing it is by creating a unique identifier string in a custom RealtimeComponent that syncs across clients. Then, when we need to reference that game object, we can reference that string, search for it on all clients, and get the game object reference. However, this feels a little clunky. I have to assign this custom component to each object that I want to reference. ...

Changing scene room duplicates XR Origin

When I change room and scene it seems to keep my XR Origin Rig, so everytime I change room/scene it creates a new one. I have seen some people just remove their XR origin rigs of the scene they are going to. However I have different Rigs for each scene, so I need to leave the XR rigs in the scene. So I'm thinking I need to destroy some before I connect to a new room? Here is my code: using System.Collections; using System.Collections.Generic;...

calling the set function every frame

if i call the set function from a realtime component every frame with the same argument, will it try to send the data every time or just the first time

Using normcore natively on VisionOS (Apple Vision Pro)

I noticed that Normcore says it supports the Apple Vision pro - but I think the package (normcore) is only usable through Unity? Or at least that's what I get the impression of reading through the documentation. Is it possible to use it in something native like Swift for VisionOs? I'm thinking about something along the lines of syncing 2 scenes (one in Unity) and one setup directly in VisionOS on an AVP. I would like to think this is possible but wondering how hard it is to do

Realtime: RealtimeViewModel was deleted from datastore, but has no corresponding prefab

Can you go into details of what this error means and what possibly could be wrong: Realtime: RealtimeViewModel was deleted from datastore, but has no corresponding prefab. This is a bug. UnityEngine.Debug:LogError (object) Normal.Realtime.Realtime:PrefabRealtimeViewModelRemoved (Normal.Realtime.Datastore,Normal.Realtime.RealtimeViewModel,bool) Normal.Realtime.Datastore:PrefabViewModelRemovedFromSet (Normal.Realtime.Serialization.RealtimeSet`1<Normal.Realtime.RealtimeViewModel>,Normal.Realtime.RealtimeViewModel,bool)...

OnRealtimeModelReplaced is not being called

``` using UnityEngine; using Normal.Realtime; using System.Collections; using UnityEngine.XR.Interaction.Toolkit;...

physics question

if i have a script that applies a force to an object every frame, will it apply the force twice if 2 players are in the lobby?

What are best practices to stagger instantiation of 1000s of RealtimeViews

What are best practices to stagger instantiation of 1000s of RealtimeViews? I am upgrading from an approach using a dictionary to stagger instantiation of objects and need a way to spread this out over multiple frames.

physics objects ownership

physics objects dont move unless they are owned. is there a way to change that?

Do I need ownership to modify a value on a RealtimeComponent?

Do I need ownership to modify a value on a RealtimeComponent?

How to get localAvatar clientID on connect

Essentially I need the player's number as soon as possible. Currently we're using a coroutine with an arbitrary delay (3 seconds) to wait for the avatar manager to create the avatar. I also didn't want the code to run every time an avatar was created. Is there another option?

Realtime.Instantiate at specific position and rotation

What is the best way to Realtime.Instantiate something at a specific position and rotation without using a RealtimeTransform component

Normcore Setup not working on Headset

So i followed this tutorial https://www.youtube.com/watch?v=e69p60l07JM&list=PL6polqxDd8aXAfcjQcVu-auZ83jE2cWVt&index=1 , i was able to build in scene and the logs showed that i was connected to normcore the normcore avatar even shows. But then when i build and load to my VR headset nothing happens. I have also attached the log issues incase...
No description

Missing Class Attributes

I'm trying to integrate Normcore into my Unity driving game. I followed the steps to create a MyCarModel class and added the [RealtimeModel] attribute. However, I'm not seeing the "Generate Realtime Model" option when I right-click on the MyCarModel.cs file. When I try to manually use the model, I get the error: 'MyCarModel' is missing the class attribute 'ExtensionOfNativeClass'.
No description

Offline mode

When trying to use the offline mode example on the docs website I get the following error: 'Room.ConnectOptions' does not contain a definition for 'offlineMode'...

Animate hands on avatar

How can I animate the hands on the avatar when pressing the grab button on the VR player prefab avatar. It's all rigged already.

player teleport

dumb question but if i want to teleport a player to a specific location and have it sync to everyone, should i update the position of the xr origin (im using xr interaction toolkit) or the vr player?

hp update problem

ok so ive been trying to get this to work for 5 hours ```using System.Collections; using System.Collections.Generic; using UnityEngine; using Normal.Realtime;...