Normcore is lag even though I try it sample scenes with Pro License
I try to use Normcore to implement multiplayer for my app. I have purchased Pro license app ID to test best network performance. But although I only test with sample scene where we instantiate and sync prefab's transform, it start lagging when reach 7 players in the room.
So where is the problem, our internet connection or Normcore?
Solution:Jump to solution
If you're still experiencing issues, you might want to consider reaching out to the Normcore support team for further assistance.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------...
12 Replies
Hi @Nguyễn Duy Hà. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
There could be several reasons why you're experiencing lag with 7 players in the room. Here are a few possibilities:
1. Bandwidth Usage: VR applications typically use more bandwidth than other types of games. According to the Normcore documentation (https://normcore.io/documentation/room/room-server-options#how-many-players-can-i-fit-in-a-single-room), VR applications can use 5-10 times more bandwidth than a typical FPS or racing game. If your application is using a lot of bandwidth, it could cause lag as more players join the room.
2. Server Configuration: The number of players that can fit in a single room can vary based on the server configuration. For VR titles, the default server configuration supports 8 players (with a burst up to 32). If you're using a different server configuration, it could affect the performance of your application.
3. Internet Connection: The quality of the internet connection can also affect the performance of your application. If the players have a poor internet connection, it could cause lag.
4. Physics Synchronization: If you're synchronizing physics objects, it could also cause lag. Unity's physics engine, PhysX, is non-deterministic, which means that it can produce different results on different devices. To keep the state of all clients in a room synchronized, Normcore needs to synchronize all objects between all clients all of the time. This can be resource-intensive and could cause lag.
To troubleshoot the issue, you could start by checking the bandwidth usage of your application and the quality of the internet connection. If those are not the issues, you could look into the server configuration and the physics synchronization.
Solution
If you're still experiencing issues, you might want to consider reaching out to the Normcore support team for further assistance.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
<@1149620213403369502> kapa.ai is still learning and improving, please let us know how it did by reacting below
try setting the room config to large
Where I can setting that, is it on Normcore project dashboard
the bot linked to it already
Thank you
But this API is not available, it says:
This API is currently in private beta. If you would like to try it out, shoot us an email to help@normalvr.com with info about your project.
Do I have to contact to gain and modify that?
v2.8.0 + has it
maybe not webgl alpha, I don't know
I have registered Pro app key, but when i connect to room with medium room size, it said:
Room: ConnectToRoom request received error from server: AppKey is not part of the room server configuration beta.
send an email to get access
This API is implemented at ver 2.8, so before normcore is not supported for more than 8 people?
in vr with voice chat on public it was pretty limited
you could split voice chat into another room
but with this api it's not really necessary