Andrei Vaduva
Andrei Vaduva
NNormal
Created by Andrei Vaduva on 5/29/2024 in #🤝ask-a-question
Is SendRPCMessage sent instantly or at 20hz?
Is SendRPCMessage sent instantly or at 20hz?
5 replies
NNormal
Created by Andrei Vaduva on 5/21/2024 in #🤝ask-a-question
Can i set RealtimeView's scene view UUID?
I have a use case where i need to set the scene view UUID because i'm using normcore in 2 different apps. Is this possible?
6 replies
NNormal
Created by Andrei Vaduva on 5/10/2024 in #🤝ask-a-question
Detecting players in room
How can i get the number of players connected to a room. Does a callback exists for player joined/left the room? Or a property on the room with the player count in the room?
5 replies
NNormal
Created by Andrei Vaduva on 5/9/2024 in #🤝ask-a-question
RealtimeView get by object id
Is there any way to get the same GameObject on 2 clients by an id?
6 replies
NNormal
Created by Andrei Vaduva on 5/8/2024 in #🤝ask-a-question
RequestOwnership not working
I'm having an issue with request ownership. I have a single RealtimeView and a single RealtimeModel on an object, both of them have ownership none and i can't RequestOwnershipOfSelfAndChildren(). Should i see some errors? it's a rigidbody with maintain ownership while sleeping
23 replies
NNormal
Created by Andrei Vaduva on 5/7/2024 in #🤝ask-a-question
MetaAvatar breaks recentering
I have Allow Recenter deactivated (OVRCameraRig) and when i have MetaAvatars disabled, everything works as expected. If i press recenter, nothing moves. If i enable MetaAvatars and recenter, everything shifts. Is MetaAvatars doing something weird regarding recentering?
6 replies
NNormal
Created by Andrei Vaduva on 5/2/2024 in #🤝ask-a-question
RealtimeCallback(RealtimeModelEvent.OnDidReadProperties)
It seems that the RealtimeCallback always fires even if the RealtimeSet didn't change. This is the code i have:
[RealtimeModel]
public partial class MatchmakingModel
{
[RealtimeProperty(1, true)]
private RealtimeSet<MatchmakingData> _rooms;

public delegate void ModelUpdatedHandler();
public event ModelUpdatedHandler OnModelUpdatedHandler;
[RealtimeCallback(RealtimeModelEvent.OnDidReadProperties)]
public void OnModelUpdatedEvent(PropertyChangeSet changes)
{
OnModelUpdatedHandler?.Invoke();
}
}
[RealtimeModel]
public partial class MatchmakingModel
{
[RealtimeProperty(1, true)]
private RealtimeSet<MatchmakingData> _rooms;

public delegate void ModelUpdatedHandler();
public event ModelUpdatedHandler OnModelUpdatedHandler;
[RealtimeCallback(RealtimeModelEvent.OnDidReadProperties)]
public void OnModelUpdatedEvent(PropertyChangeSet changes)
{
OnModelUpdatedHandler?.Invoke();
}
}
16 replies
NNormal
Created by Andrei Vaduva on 4/29/2024 in #🤝ask-a-question
Destroy persistent data from datastore
A realtimeview has a Destroy When Last Client Leaves flag, but if i turn it off (so it persists) when enabling it back, the model is still persisting on disk. In order to resolve this, i resetted the View UUID, i got a new RealtimeView with a different datastore, but the old one seems to persist on each session.
6 replies