xulipa
xulipa
NNormal
Created by xulipa on 8/23/2024 in #🤝ask-a-question
Prevent ownership toggle
Prevent ownership takeover is not showing in the inspector panel anymore
13 replies
NNormal
Created by xulipa on 8/14/2024 in #🤝ask-a-question
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; using UnityEngine; using Normal.Realtime; using UnityEngine.SceneManagement; using UnityEngine.XR.Interaction.Toolkit; public class NormalSceneLoader : MonoBehaviour { [SerializeField] private Realtime realtime; [SerializeField] private string roomName; [SerializeField] private int sceneIndex; private XRGrabInteractable grabInteractable; private bool isLoading; void Start() { grabInteractable = GetComponent<XRGrabInteractable>(); grabInteractable.selectEntered.AddListener(OnSelectEntered); } void OnSelectEntered(SelectEnterEventArgs args) { LoadScene(); } public void LoadScene() { if (isLoading) return; isLoading = true; realtime.Disconnect(); realtime = null; SceneManager.LoadScene(sceneIndex); realtime = FindObjectOfType<Realtime>(); realtime.Connect(roomName); isLoading = false; } }
15 replies
NNormal
Created by xulipa on 8/12/2024 in #🤝ask-a-question
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.RealtimeSet1<Normal.Realtime.RealtimeViewModel>,Normal.Realtime.RealtimeViewModel,bool) Normal.Realtime.Serialization.RealtimeSet1<Normal.Realtime.RealtimeViewModel>:SafeDispatchModelRemoved (Normal.Realtime.RealtimeViewModel,bool) Normal.Realtime.Serialization.RealtimeSet`1<Normal.Realtime.RealtimeViewModel>:Read (Normal.Realtime.Serialization.ReadStream,Normal.Realtime.Serialization.StreamContext) Normal.Realtime.RealtimeModel:Normal.Realtime.Serialization.IStreamReader.Read (Normal.Realtime.Serialization.ReadStream,Normal.Realtime.Serialization.StreamContext) Normal.Realtime.Serialization.ReadStream:ReadRawModel (Normal.Realtime.Serialization.IStreamReader,Normal.Realtime.Serialization.StreamContext) Normal.Realtime.Serialization.ReadStream:ReadCollection (Normal.Realtime.Serialization.IStreamReader,Normal.Realtime.Serialization.StreamContext,bool) Normal.Realtime.Datastore:Read (Normal.Realtime.Serialization.ReadStream,Normal.Realtime.Serialization.StreamContext) Normal.Realtime.Serialization.ReadStream:ReadRawModel (Normal.Realtime.Serialization.IStreamReader,Normal.Realtime.Serialization.StreamContext) Normal.Realtime.Serialization.ReadStream:DeserializeModel (Normal.Realtime.Serialization.IStreamReader,Normal.Realtime.Serialization.StreamContext) Normal.Realtime.Datastore:DeserializeDeltaUpdates (byte[],bool,bool,double) Normal.Realtime.Room:ReceivedPersistenceMessage (Normal.Realtime.Native.IClient,int,byte[],uint,bool) Normal.Realtime.Native.Client:ReceivePersistenceMessages ()
5 replies
NNormal
Created by xulipa on 8/4/2024 in #🤝ask-a-question
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'
9 replies
NNormal
Created by xulipa on 8/4/2024 in #🤝ask-a-question
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.
9 replies
NNormal
Created by xulipa on 8/2/2024 in #🤝ask-a-question
Collider on Full Body Avatar
I've implemented a full body avatar (with Final IK) also known as a VRIK onto the VR Player prefab from Normcore. I've added a collider to the body, however it seems to be colliding with the floor plane and disrupts movement and sometimes throws the player completely off the scene. I've tried going into projects settings and disabling collisions for both floor and bodycollider but that didn't fix it. I'm also just looking for any guidance of how to setup the collider.
5 replies
NNormal
Created by xulipa on 5/18/2024 in #🤝ask-a-question
How to sync walking sounds
How should I sync walking sounds?
19 replies
NNormal
Created by xulipa on 5/8/2024 in #🤝ask-a-question
How can I respawn avatar prefab
How can I respawn the VR Player prefab
6 replies
NNormal
Created by xulipa on 5/4/2024 in #🤝ask-a-question
Best way to change VR Avatar scale at run time
I want to change an item on the VR Avatar to get smaller and bigger based on a collision - what's the best way to do this and sync these changes to all clients?
13 replies
NNormal
Created by xulipa on 5/1/2024 in #🤝ask-a-question
Realtime Objects on XR Origin doesn't sync
An object on my XR Origin player that I attached an Realtime View + Transform doesn't sync. But whatever I add to the VR Player prefab syncs just fine.
7 replies
NNormal
Created by xulipa on 3/19/2024 in #🤝ask-a-question
Updating Normcore from 2.1 to 3.0.0 webgl alpha
When updating from Normcore 2.1 to 3.0.0 and restarting Unity - I'm getting this error on all my models: Assets\Scripts\ReadySync.cs(6,14): error CS0311: The type 'UserReadyModel' cannot be used as type parameter 'TModel' in the generic type or method 'RealtimeComponent<TModel>'. There is no implicit reference conversion from 'UserReadyModel' to 'Normal.Realtime.RealtimeModel'.
6 replies
NNormal
Created by xulipa on 3/19/2024 in #💭feature-request
Add more code examples to documentation
Title says it all 🙂
9 replies
NNormal
Created by xulipa on 3/14/2024 in #🤝ask-a-question
Store list of player states
I want to check the readiness of players, to identify who is currently playing which means the rest of the players cannot currently play. So I'm thinking I need to retrieve client IDs locally and then add that to a dictionary or a realtime set?
17 replies