kapa.ai
NNormal
•Created by khoi on 5/1/2025 in #🤝ask-a-question
Room name is ""?
----------------------
That's a very plausible explanation for what you're experiencing. According to the documentation, when the last player leaves a room, the room server doesn't shut down immediately but remains running for about 30 seconds before shutting down:
"When the last player leaves a room, the room server will remain running for about 30 seconds before it's shut down. When this happens, any objects that are not flagged to destroy will be written to persistent storage." Common Questions documentation
During this transitional period, the room is in a cleanup state where it's preparing to save persistent data and shut down. If you reconnect during this window, you might encounter inconsistent behavior, including potentially empty room names.
The Room Datastore documentation also mentions:
"Typically, room servers automatically shut down 30 seconds after the last client leaves. At that point, the datastore is saved and can be hosted by another room server instance."
This transition period could explain why you're sometimes getting an empty room name - you might be reconnecting during this cleanup phase where the room server is in an intermediate state between active and shut down.
To test this theory, you could try:
1. Adding a longer delay (more than 30 seconds) between disconnecting and reconnecting
2. Using a different room name each time you test to avoid the cleanup state issue
This would help determine if the timing of your reconnection is indeed related to the empty room name issue you're experiencing.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
24 replies
NNormal
•Created by khoi on 5/1/2025 in #🤝ask-a-question
Room name is ""?
Let me check the knowledge base for you again. One moment! :books:
24 replies
NNormal
•Created by khoi on 5/1/2025 in #🤝ask-a-question
Room name is ""?
If the issue persists, this would be a good case to report to the Normcore team with your detailed logs, as it may indicate a subtle bug in their connection handling.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
24 replies
NNormal
•Created by khoi on 5/1/2025 in #🤝ask-a-question
Room name is ""?
----------------------
I understand this is a perplexing issue, especially since it only happens sometimes. The intermittent nature of the problem suggests a few possible explanations:
1. Race Conditions: There might be a timing issue where the room name is being accessed before it's fully populated in some cases. Even though you're using the
didConnectToRoom
event, there could be subtle timing differences in how the connection process completes.
2. Server-Side Behavior: According to the documentation on Cloud Infrastructure, when connecting to a room, your client first contacts the matcher service, which then determines if a room is running or needs to be created. This multi-step process could potentially lead to inconsistencies in how room information is returned in certain scenarios.
3. Network Conditions: Varying network conditions might affect how the connection process completes. Under certain conditions, some information might not be properly synchronized.
4. Room Server Lifecycle: The documentation mentions that "When the last player leaves a room, the room server will remain running for about 30 seconds before it's shut down" and then room data is written to persistent storage. If you're connecting to a room that's in this transitional state, it might behave differently.
Since this is an intermittent issue and you've already ruled out the common causes, I recommend implementing some additional logging to help diagnose the pattern:
- Log the exact timing of when the room name is empty versus when it's populated
- Check if there's any correlation with reconnection attempts or specific network conditions
- Monitor if it happens more frequently with certain room names or room states24 replies
NNormal
•Created by khoi on 5/1/2025 in #🤝ask-a-question
Room name is ""?
Let me check the knowledge base for you again. One moment! :books:
24 replies
NNormal
•Created by khoi on 5/1/2025 in #🤝ask-a-question
Room name is ""?
----------------------
I understand this is a frustrating issue. Since you've verified all the common causes I suggested, let's look at some other potential explanations for why the room name is empty after connection.
Based on the documentation, here are a few more things to consider:
1. Check if you're using the correct property. According to the Room reference documentation, the room name should be accessible via
room.name
.
2. There might be an issue with how the room name is being processed by Normcore. The documentation states that room names must be less than 512 characters long. If your room name exceeds this limit, it might cause unexpected behavior.
3. If you're using Realtime.Instantiate() to create objects, make sure you're not mixing up different Realtime instances, which could lead to confusion about which room you're connected to.
4. It's possible there could be a bug in the specific version of Normcore you're using.
Since you've already verified the most common causes and are still experiencing the issue, I recommend reaching out to the Normcore team directly for support. This appears to be a specific technical issue that might require more detailed debugging than what can be provided through general documentation.
You can reach out to the Normcore community on their Discord for further assistance, as they would be better positioned to help troubleshoot this specific issue with more context about your implementation.
If possible, consider creating a minimal reproducible example that demonstrates the issue, which would help the Normcore team identify the root cause more effectively.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------24 replies
NNormal
•Created by khoi on 5/1/2025 in #🤝ask-a-question
Room name is ""?
Let me check the knowledge base for you again. One moment! :books:
24 replies
NNormal
•Created by khoi on 5/1/2025 in #🤝ask-a-question
Room name is ""?
----------------------
I understand your frustration. If you've verified that you're only calling Connect once and the room name is set correctly before the call, there might be other factors at play.
Based on the documentation, here are a few additional things to check:
1. Make sure you're using
realtime.Connect()
and not realtime.room.Connect()
. The documentation specifically warns against this: "If you're calling realtime.room.Connect()
you're making a mistake. Instead, call realtime.Connect()
and use the Realtime API directly." Room documentation
2. Check if you're using any ConnectOptions that might be affecting the behavior. For example, if you're using offline mode, it might behave differently:
Offline Mode documentation
3. Verify that you're checking the room name after the connection is fully established. The didConnectToRoom
event should only fire when the connection is complete.
4. Look at the connectionState
property of the Room object to ensure it's in the Connected
state when you're checking the name.
If you've verified all these points and are still experiencing the issue, it might be worth reaching out to the Normcore team through their Discord for more specialized assistance, as mentioned in their Common Questions documentation.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------24 replies
NNormal
•Created by khoi on 5/1/2025 in #🤝ask-a-question
Room name is ""?
Let me check the knowledge base for you again. One moment! :books:
24 replies
NNormal
•Created by khoi on 5/1/2025 in #🤝ask-a-question
Room name is ""?
If the issue persists, I'd recommend checking your Normcore version and potentially reaching out to Normal's support team for further assistance.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
24 replies
NNormal
•Created by khoi on 5/1/2025 in #🤝ask-a-question
Room name is ""?
----------------------
I understand your confusion about the room name being empty after connecting. Based on the knowledge sources, there might be a few things happening here.
When you call
Connect(roomName)
on a Realtime instance, it should connect to a room with that name. After a successful connection, the didConnectToRoom
event fires, and you should be able to access the room name through room.name
.
Looking at the documentation, there are a couple of things to check:
1. Make sure you're accessing the room name correctly. According to the Room reference documentation, the room name should be accessible via the name
property of the Room class.
2. Verify that you're using the correct event handler. The Realtime class has a didConnectToRoom
event that fires when the connection is established and all views are initialized.
Here's a simple example of how to properly connect and log the room name:
If you're still seeing an empty room name after connection, it could be related to:
- A timing issue where you're checking the room name before the connection is fully established
- A potential bug in your version of Normcore
- You might be using offline mode, which behaves differently24 replies
NNormal
•Created by khoi on 5/1/2025 in #🤝ask-a-question
Room name is ""?
Hi @khoi. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
24 replies
NNormal
•Created by Rex G on 5/1/2025 in #🤝ask-a-question
Avatar Skin isn't showing up
----------------------
I notice you're having an issue with your avatar skin showing up as blue in a NormalVR/Normcore implementation. Based on the knowledge sources provided, there isn't specific information about troubleshooting avatar skin color issues or why an avatar might appear blue.
The documentation covers how to create custom avatars, set up Meta avatars, and configure avatar components, but doesn't specifically address skin color rendering problems.
For this type of issue, I would recommend:
1. Check if you're using custom avatars or Meta avatars, as the setup process differs for each
2. If using custom avatars, verify that your materials and textures are properly assigned to your avatar models
3. For Meta avatars, ensure you've properly set up the Meta Avatar SDK and initialized the Oculus platform at runtime as described in the Meta Avatars Setup guide
If you're still experiencing issues, you might want to reach out to the Normcore community for more specific help with your implementation.
Would you be able to provide more details about your setup? Are you using custom avatars or Meta avatars? This would help narrow down the potential causes of your issue.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
6 replies
NNormal
•Created by Rex G on 5/1/2025 in #🤝ask-a-question
Avatar Skin isn't showing up
Hi @Rex G. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
6 replies