Mikameel
Mikameel
NNormal
Created by Mikameel on 2/16/2025 in #🤝ask-a-question
Networked player names design pattern
I want to use player names to log scores. I want each player to have a name that is set locally before joining any realtime session. I want to store that name to player prefs. when a player joins a session, I want their name to be shown in a textmeshpro line above their head. What is a good model example for this?
6 replies
NNormal
Created by Mikameel on 2/14/2025 in #🤝ask-a-question
Avatar not returning after taking headset on / off
When our users take of their headset during a session, and put it back on after sleep, the default Avatar does not show up.
22 replies
NNormal
Created by Mikameel on 2/8/2025 in #🤝ask-a-question
Hosting VR sessions on a PC downsides upsides tradeoffs
I want to let VR users join a created session on a PC. The PC build gets additional functionalities like instantiating prefabs on locations, or calculating the players movement and give them a networked color based on their movement. In theory, doing most of the compute on a PC build will enable the session to have more VR players correct? since it will be less heavy for VR headsets and in VR networking this is for now the bottleneck. I want to make my VR player prefab as light as possible and do as much stuff on gameobjects that are only enabled on PC. Is this a good design, am I missing something essential? what are the downsides, upsides and tradeofs about this methods?
10 replies
NNormal
Created by Mikameel on 2/5/2025 in #🤝ask-a-question
PC created rooms, connection links and lobby system
are there resources to create a room and join an existing room using a link? how can I let users join rooms that are created by friends?
14 replies
NNormal
Created by Mikameel on 1/26/2025 in #🤝ask-a-question
Design Pattern for Avatar Systems
What is a good design pattern for avatar systems in multiplayer games? I want to start with team colors. Team blue and team Red. I use the default avatars. At first the player doesnt have a team so it is neutral. Should I store the team state as a networked Enum, and then in use the avatar manager to load prefabs for each player depending on the team enum? Or am I missing something.
20 replies
NNormal
Created by Mikameel on 1/23/2025 in #🤝ask-a-question
networked buttons / votes
I have 2 buttons in my Unity game One for team blue and one for team red. each player can vote which team is winning. But you can only vote for 1 team. So its either team red or team blue. I want to show the livescore in text that is networked. I want to network the current votes for each time. So the only thing that is networked should be the amount of votes each team has. and a player can only vote for one team.
25 replies
NNormal
Created by Mikameel on 1/23/2025 in #🤝ask-a-question
host a multiplayer session on PC Editor
Is it possible to have a multiplayer session on Quest with events happening triggered from my Unity Editor. I want to demo something and I want to have more control. For example, it's a networked club, can I skip through songs with editor buttons, can I control lightning from my editor. Making my PC technically the DJ booth? This would be useful because I don't want to map all functionalities to my controllers, I just want to host on my PC, using NaughtyAttributes Buttons. What is the downside about this? Can I make a build for PC where I have an overlay with buttons? What is the limit?
19 replies
NNormal
Created by Mikameel on 1/15/2025 in #🤝ask-a-question
Networking, Synced VOD Doesnt work for Quest2
works for quest 3 connected with Unity editor. I have no clue but I'm really lost. I've been debugging this for a full day now but I can't fix it. Suddenly the networking broke, while it worked before with that exact video.
15 replies
NNormal
Created by Mikameel on 1/14/2025 in #🤝ask-a-question
Pausing the serverTime
When I pause the stream I want to count the paused time, using the pausedTime from realtime room. And substract. But somehow it doesnt work. PLease help me out. Am I missing something?
16 replies
NNormal
Created by Mikameel on 1/12/2025 in #🤝ask-a-question
Handeling userID
For the library I need a Uint to refernce players, but what is good practise for assinging them? Can I use ClientID?
14 replies
NNormal
Created by Mikameel on 1/12/2025 in #🤝ask-a-question
How to get a shared score in a server, calculated from individual networked players
I want to change the scene based on the average value of each player. How can I calculate an average server score based on all players that are in the scene networked?
15 replies
NNormal
Created by Mikameel on 1/12/2025 in #🤝ask-a-question
Nullreference using the Avatar VR prefab.
I get a lot of nullreference errors when I add scripts to the avatar prefab. They reference to each other, for instance a script on the avatar head, referencing the mouth, and another scripts the movevement of the controllers. Am I missing something?
6 replies
NNormal
Created by Mikameel on 1/9/2025 in #🤝ask-a-question
Syncing video from asset files .mp4
This is for testing purposes of the documentation BOT. Please give me a tutorial on how I can sync the playback of video. I want all users to be able to start, stop and pause the video. I'm using unity videoplayer. it's an mp4 file. I'm building for quest.
11 replies
NNormal
Created by Mikameel on 1/9/2025 in #🤝ask-a-question
Partial class or no? Mybe a mistake in documentation but idk
No description
11 replies