Still learning replication etc. But noticed this happening when I play as a Listen Server with two additional clients. My understanding is there would be an instance of each player on both the client and the server. So 3 players, 6 instances total. But I’m getting 9. Client 1 and Client 2 are duplicating it looks like… not sure if this is how it’s supposed to go or if I’m doing some wrong.
Running event off of begin play just to see what is spawning in… This is a child blueprint
When you play as a Listen Server, the server instance is running on your local machine and acts as both the server and a client. The additional clients connect to the server and receive replicated information about the game state.
Based on your description, it’s possible that the replicated actor is being spawned on both the client and the server, resulting in a total of 9 instances instead of 6. This can happen if the actor is not set up to replicate properly or if there is a synchronization issue between the client and server instances.
thank you for the reply. What specifically with the actor would have to be replicated properly? Running this all on one machine right now. Is there something within the blueprint settings that has to be replicated?
I think it’s actually fine, and I’ll explain why. What you see in the print is each connected device including the server. With four connections one which is a listen server you will get 16 returns on the server. The reason is because you can see the proper returns for each client.
Server one is properly returning all 4 players.
So is client 1, 2 and 3. 4 * 4 = 16.
Good deal thank you! I had been doing a lot of research and I read the pawn exists on both server and clients. So since an instance is on each client, I think that makes since why 4x4 or 3x3 are coming through.
Thanks again!