# Multiplayer & Networking

**URL:** https://forums.unrealengine.com/c/development-discussion/programming-scripting/multiplayer-networking/132.md?page=78

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

**Page:** 79

---

## [Editor crashes while client loads listen server lobby](https://forums.unrealengine.com/t/editor-crashes-while-client-loads-listen-server-lobby/546933)

<div class="topic-metadata">

**Author:** [@mnelenpridumivat](https://forums.unrealengine.com/u/mnelenpridumivat)\
**Replies:** 3\
**Last updated:** [October 10, 2022, 6:32am UTC](https://forums.unrealengine.com/t/editor-crashes-while-client-loads-listen-server-lobby/546933 "2022-10-10T06:32:43Z")

</div>

I try to make multiplayer game in C++ using Online Subsystem (ordinary subsystem, not Steam). I created 2 levels: MainMenu and Lobby. I set PIE Net Mode “Play Standalone” and 2 players. After that, using first player win…

---

## [Replicate FInstancedStruct variable - StructUtils Plugin](https://forums.unrealengine.com/t/replicate-finstancedstruct-variable-structutils-plugin/662146)

<div class="topic-metadata">

**Author:** [@a\_najafi](https://forums.unrealengine.com/u/a_najafi)\
**Replies:** 3\
**Last updated:** [October 10, 2022, 5:21am UTC](https://forums.unrealengine.com/t/replicate-finstancedstruct-variable-structutils-plugin/662146 "2022-10-10T05:21:20Z")

</div>

I have just found the StructUtils Plugin which is Experimental. When I give a FInstancedStruct variable Replicated it does not replicate. Is there any way to replicate FInstancedStruct variables? for reference: htt…

---

## [Need an advice on how to handle player data in multiplayer](https://forums.unrealengine.com/t/need-an-advice-on-how-to-handle-player-data-in-multiplayer/659862)

<div class="topic-metadata">

**Author:** [@panthernet](https://forums.unrealengine.com/u/panthernet)\
**Replies:** 8\
**Last updated:** [October 9, 2022, 4:27pm UTC](https://forums.unrealengine.com/t/need-an-advice-on-how-to-handle-player-data-in-multiplayer/659862 "2022-10-09T16:27:57Z")

</div>

Hi guys, I’ve spent quite some time researching the architecture patterns for multiplayer games but still not sure if I’m going in the right direction. I want to discuss how to implement the stuff correctly. Description …

---

## [How to spawn the player characters in Multiplayer](https://forums.unrealengine.com/t/how-to-spawn-the-player-characters-in-multiplayer/660011)

<div class="topic-metadata">

**Author:** [@anon15805799](https://forums.unrealengine.com/u/anon15805799)\
**Replies:** 2\
**Last updated:** [October 9, 2022, 2:10am UTC](https://forums.unrealengine.com/t/how-to-spawn-the-player-characters-in-multiplayer/660011 "2022-10-09T02:10:17Z")

</div>

How do i spawn the whole player characters with the controller in Multiplayer when i switch between levels. It worked on starting the game in the beginning. But i let the characters spawn after hosting/joining a lobby an…

---

## [How to pass and parse options to and from UGamestatics::OpenLevel?](https://forums.unrealengine.com/t/how-to-pass-and-parse-options-to-and-from-ugamestatics-openlevel/661249)

<div class="topic-metadata">

**Author:** [@Arjun\_NoobGamer](https://forums.unrealengine.com/u/Arjun_NoobGamer)\
**Replies:** 1\
**Last updated:** [October 9, 2022, 1:23am UTC](https://forums.unrealengine.com/t/how-to-pass-and-parse-options-to-and-from-ugamestatics-openlevel/661249 "2022-10-09T01:23:16Z")

</div>

Hi, I am building a dedicated server and I have a menu where people can host or join games. If someone click host, I want to open lobby level and want to pass the number of players he wants to have in the game so that I …

---

## [How to pass data from a client to the Dedicated server during login?](https://forums.unrealengine.com/t/how-to-pass-data-from-a-client-to-the-dedicated-server-during-login/662720)

<div class="topic-metadata">

**Author:** [@Arjun\_NoobGamer](https://forums.unrealengine.com/u/Arjun_NoobGamer)\
**Replies:** 2\
**Last updated:** [October 9, 2022, 12:34am UTC](https://forums.unrealengine.com/t/how-to-pass-data-from-a-client-to-the-dedicated-server-during-login/662720 "2022-10-09T00:34:57Z")

</div>

I have a map in the game default map from which the user connects to the lobby in the game server(dedicated). I want the user to pass the menu selection data to the server during login to the server. How can I pass these…

---

## [How to correctly replicate a projectile firing from weapon blueprint](https://forums.unrealengine.com/t/how-to-correctly-replicate-a-projectile-firing-from-weapon-blueprint/379921)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_3349fc6c](https://forums.unrealengine.com/u/anonymous_user_3349fc6c)\
**Replies:** 7\
**Last updated:** [October 8, 2022, 10:29pm UTC](https://forums.unrealengine.com/t/how-to-correctly-replicate-a-projectile-firing-from-weapon-blueprint/379921 "2022-10-08T22:29:09Z")

</div>

Here is what looks wrong to me. The Fire event inside the weapon BP should say “Executes On Server” not “Executes on All”. I would take the code from your weapon BP and move it into your Character BP. Then use Run on …

---

## [GetAuthGameMode returns nullptr](https://forums.unrealengine.com/t/getauthgamemode-returns-nullptr/664042)

<div class="topic-metadata">

**Author:** [@theboredgenius](https://forums.unrealengine.com/u/theboredgenius)\
**Replies:** 2\
**Last updated:** [October 7, 2022, 9:29pm UTC](https://forums.unrealengine.com/t/getauthgamemode-returns-nullptr/664042 "2022-10-07T21:29:33Z")

</div>

Hi All, I am trying to create a multiplayer game which has Sword attacks. The Sword is a separate class that has a BoxComponent. I added a function on the BeginOverlap of the Sword on the server as below In the OnSw…

---

## [Are RPCs working from ActorComponent without setting the ActorComponent to replicates but only the Actor?](https://forums.unrealengine.com/t/are-rpcs-working-from-actorcomponent-without-setting-the-actorcomponent-to-replicates-but-only-the-actor/528296)

<div class="topic-metadata">

**Author:** [@powwowchristina1](https://forums.unrealengine.com/u/powwowchristina1)\
**Replies:** 5\
**Last updated:** [October 7, 2022, 7:04am UTC](https://forums.unrealengine.com/t/are-rpcs-working-from-actorcomponent-without-setting-the-actorcomponent-to-replicates-but-only-the-actor/528296 "2022-10-07T07:04:37Z")

</div>

From reading the docs I was under the impression that I have to set bReplicates = true of a component to true in order to send RPCs from it. But could it be that I only need to set it to true if I want to replicate prope…

---

## [Set Skeletal Mesh replication broken?](https://forums.unrealengine.com/t/set-skeletal-mesh-replication-broken/86181)

<div class="topic-metadata">

**Author:** [@Mik2121](https://forums.unrealengine.com/u/Mik2121)\
**Replies:** 3\
**Last updated:** [October 5, 2022, 5:38pm UTC](https://forums.unrealengine.com/t/set-skeletal-mesh-replication-broken/86181 "2022-10-05T17:38:55Z")

</div>

Hello everyone. I’m testing some customization using the default Third Person template with the UE4 Mannequin’s default blueprint. I have been able to do simple customization that works online for Static Meshes that att…

---

## [Steam Dedicated Server can't get P2P Address](https://forums.unrealengine.com/t/steam-dedicated-server-cant-get-p2p-address/662215)

<div class="topic-metadata">

**Author:** [@EnOnE\_Masta](https://forums.unrealengine.com/u/EnOnE_Masta)\
**Replies:** 1\
**Last updated:** [October 5, 2022, 6:10am UTC](https://forums.unrealengine.com/t/steam-dedicated-server-cant-get-p2p-address/662215 "2022-10-05T06:10:52Z")

</div>

Hi, Like in topic my P2PADDR is always 0.0.0.0, I have no idea what to do with it. thx,

---

## [How To Pass variables to a Server Map Gamemode from a Client Menu](https://forums.unrealengine.com/t/how-to-pass-variables-to-a-server-map-gamemode-from-a-client-menu/662191)

<div class="topic-metadata">

**Author:** [@Arjun\_NoobGamer](https://forums.unrealengine.com/u/Arjun_NoobGamer)\
**Replies:** 0\
**Last updated:** [October 4, 2022, 12:35pm UTC](https://forums.unrealengine.com/t/how-to-pass-variables-to-a-server-map-gamemode-from-a-client-menu/662191 "2022-10-04T12:35:02Z")

</div>

Hi, I am building a dedicated server for my multiplayer shooter game and want to pass the maxNumPlayers variable and levelMap variable from the menu to the lobbymap gamemode. The lobbymap is the server map where players …

---

## [Can't find session from dedicated server](https://forums.unrealengine.com/t/cant-find-session-from-dedicated-server/661428)

<div class="topic-metadata">

**Author:** [@EnOnE\_Masta](https://forums.unrealengine.com/u/EnOnE_Masta)\
**Replies:** 1\
**Last updated:** [October 3, 2022, 8:47pm UTC](https://forums.unrealengine.com/t/cant-find-session-from-dedicated-server/661428 "2022-10-03T20:47:00Z")

</div>

Hi, I can’t find session using dedicated server and client. I am using two computers and two steam accounts. Server computer has all ports open and public ip. Below are my configs. I am using AppId for my steam product,…

---

## [Spawned Actor Replication](https://forums.unrealengine.com/t/spawned-actor-replication/661561)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b3b1b525](https://forums.unrealengine.com/u/anonymous_user_b3b1b525)\
**Replies:** 1\
**Last updated:** [October 3, 2022, 4:56pm UTC](https://forums.unrealengine.com/t/spawned-actor-replication/661561 "2022-10-03T16:56:39Z")

</div>

Im having a bit of an issue with replication. I made a coin that will follow the player when the player gets close enough to it, until it reaches the player, and is then destroyed and adds a score to the player. This fun…

---

## [Why OnPostLogin is not firing when i open new map with new gamemode and controller?](https://forums.unrealengine.com/t/why-onpostlogin-is-not-firing-when-i-open-new-map-with-new-gamemode-and-controller/661337)

<div class="topic-metadata">

**Author:** [@unvermelih](https://forums.unrealengine.com/u/unvermelih)\
**Replies:** 0\
**Last updated:** [October 3, 2022, 10:13am UTC](https://forums.unrealengine.com/t/why-onpostlogin-is-not-firing-when-i-open-new-map-with-new-gamemode-and-controller/661337 "2022-10-03T10:13:14Z")

</div>

Hello, i have a question about OnPostLogin event. When i switch to a new map (from main menu to lobby menu) OnPostLogin event is not firing. It is firing only when i connected to server and at opening of default server …

---

## [Shapes are not visible anymore](https://forums.unrealengine.com/t/shapes-are-not-visible-anymore/661094)

<div class="topic-metadata">

**Author:** [@anon15805799](https://forums.unrealengine.com/u/anon15805799)\
**Replies:** 3\
**Last updated:** [October 3, 2022, 9:27am UTC](https://forums.unrealengine.com/t/shapes-are-not-visible-anymore/661094 "2022-10-03T09:27:11Z")

</div>

I just logged into my project and just wondered where the meshes are. They arent visible in game anymore and i run through it Thats how it was looked like and the other one is how it looks now. The enemies are stil…

---

## [When the controller knows its pawn?](https://forums.unrealengine.com/t/when-the-controller-knows-its-pawn/660779)

<div class="topic-metadata">

**Author:** [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Replies:** 15\
**Last updated:** [October 3, 2022, 8:33am UTC](https://forums.unrealengine.com/t/when-the-controller-knows-its-pawn/660779 "2022-10-03T08:33:05Z")

</div>

I want to add a tag to the pawns from the Game Mode. Everything I tried doesn’t work. In the end I have noticed that there is a desynchronization between the spawning moment, and the possession of the pawn by the contr…

---

## [Client Cast to Child is Failing](https://forums.unrealengine.com/t/client-cast-to-child-is-failing/654356)

<div class="topic-metadata">

**Author:** [@SimpleShark](https://forums.unrealengine.com/u/SimpleShark)\
**Replies:** 2\
**Last updated:** [October 2, 2022, 7:20pm UTC](https://forums.unrealengine.com/t/client-cast-to-child-is-failing/654356 "2022-10-02T19:20:28Z")

</div>

I’m in UE5 and I have every weapon as child blueprints. The parent of these is ‘Weapon\_Parent’. I need to get some variables, specifically the class, to swap weapons. My code in my character blueprint is shown below. The…

---

## [Cannot create widget on client](https://forums.unrealengine.com/t/cannot-create-widget-on-client/658432)

<div class="topic-metadata">

**Author:** [@Mr\_Deblasio](https://forums.unrealengine.com/u/Mr_Deblasio)\
**Replies:** 14\
**Last updated:** [October 2, 2022, 4:04pm UTC](https://forums.unrealengine.com/t/cannot-create-widget-on-client/658432 "2022-10-02T16:04:02Z")

</div>

Hi All. I’m creating a health card and menu for a multiplayer test game I’m making, but every time I create the widget it returns null on the client side only, somehow. Please ask any questions you need, I’ll get back to…

---

## [Using Instigator to identify killer](https://forums.unrealengine.com/t/using-instigator-to-identify-killer/660533)

<div class="topic-metadata">

**Author:** [@Lammosan](https://forums.unrealengine.com/u/Lammosan)\
**Replies:** 11\
**Last updated:** [October 1, 2022, 10:56pm UTC](https://forums.unrealengine.com/t/using-instigator-to-identify-killer/660533 "2022-10-01T22:56:02Z")

</div>

The lack of understanding is deep on this one. I must admit this problem suprises me. Everything in the code is working fine for the client, but the server doesnt register any kills. (The cast fails) Heres a graphic…

---

## [Passing arguments to server with JoinSession](https://forums.unrealengine.com/t/passing-arguments-to-server-with-joinsession/462670)

<div class="topic-metadata">

**Author:** [@Chrisss50](https://forums.unrealengine.com/u/Chrisss50)\
**Replies:** 1\
**Last updated:** [September 30, 2022, 10:50pm UTC](https://forums.unrealengine.com/t/passing-arguments-to-server-with-joinsession/462670 "2022-09-30T22:50:19Z")

</div>

Hi everyone, I am currently trying to create a simple game with a dedicated server to which I would like to join with my whole Steam-Lobby. What I have so far: Steam is running on the dedicated server and the clients …

---

## [How do i go about making a local co-op where one player controls a boat and another a turret on the same boat](https://forums.unrealengine.com/t/how-do-i-go-about-making-a-local-co-op-where-one-player-controls-a-boat-and-another-a-turret-on-the-same-boat/658040)

<div class="topic-metadata">

**Author:** [@JulianNorway](https://forums.unrealengine.com/u/JulianNorway)\
**Replies:** 2\
**Last updated:** [September 29, 2022, 3:25pm UTC](https://forums.unrealengine.com/t/how-do-i-go-about-making-a-local-co-op-where-one-player-controls-a-boat-and-another-a-turret-on-the-same-boat/658040 "2022-09-29T15:25:16Z")

</div>

Im trying to make a boat controlled by player 1, with a turret controlled by player 2. I have the boat set up, and the turret, but i cant for the life of me understand how to go about having two player controllers in the…

---

## [Multiplayer game with no loggin requirement](https://forums.unrealengine.com/t/multiplayer-game-with-no-loggin-requirement/658891)

<div class="topic-metadata">

**Author:** [@sanchezgi](https://forums.unrealengine.com/u/sanchezgi)\
**Replies:** 1\
**Last updated:** [September 29, 2022, 10:21am UTC](https://forums.unrealengine.com/t/multiplayer-game-with-no-loggin-requirement/658891 "2022-09-29T10:21:51Z")

</div>

Hi everyone, I’m trying to make a simple app where users can host and join sessions. I want it to work outside LAN so I decided to use one of the existing online subsystems. I was wondering if it’s possible to make it w…

---

## [Client "successfuly" joins sessions that was already closed by Host resulting in client not being able to host/join other sessions](https://forums.unrealengine.com/t/client-successfuly-joins-sessions-that-was-already-closed-by-host-resulting-in-client-not-being-able-to-host-join-other-sessions/658486)

<div class="topic-metadata">

**Author:** [@FaceW.TearsOfJoy](https://forums.unrealengine.com/u/FaceW.TearsOfJoy)\
**Replies:** 0\
**Last updated:** [September 28, 2022, 6:52pm UTC](https://forums.unrealengine.com/t/client-successfuly-joins-sessions-that-was-already-closed-by-host-resulting-in-client-not-being-able-to-host-join-other-sessions/658486 "2022-09-28T18:52:08Z")

</div>

When client looks for all available sessions and finds session created by another client (host) he can join this session even if host already destroyed this session, but the change wasn’t reflected in clients sessions li…

---

## [Client Rate of Fire diminished](https://forums.unrealengine.com/t/client-rate-of-fire-diminished/657915)

<div class="topic-metadata">

**Author:** [@Lammosan](https://forums.unrealengine.com/u/Lammosan)\
**Replies:** 2\
**Last updated:** [September 28, 2022, 3:37pm UTC](https://forums.unrealengine.com/t/client-rate-of-fire-diminished/657915 "2022-09-28T15:37:26Z")

</div>

What would cause the rate of fire to be diminished on the Client copy? It runs the same speed in the editor, as it does the Server copy. EDIT: After it passes into one of the Burner events, it resets the regen…

---

## [When is Replicated Data Ready?](https://forums.unrealengine.com/t/when-is-replicated-data-ready/624624)

<div class="topic-metadata">

**Author:** [@EinarPF](https://forums.unrealengine.com/u/EinarPF)\
**Replies:** 4\
**Last updated:** [September 28, 2022, 1:24pm UTC](https://forums.unrealengine.com/t/when-is-replicated-data-ready/624624 "2022-09-28T13:24:56Z")

</div>

Let´s say I am a Client joining a Session. When the Scene is Loaded, where in the flow is all the Actors Replicated data ready to be used? For Example: Can I be guarenteed to use the up-to-date Replicated data in the fir…

---

## [How to use ZoneGraph(Crowds, NPC) for a multiplayer project?](https://forums.unrealengine.com/t/how-to-use-zonegraph-crowds-npc-for-a-multiplayer-project/658260)

<div class="topic-metadata">

**Author:** [@Aram063](https://forums.unrealengine.com/u/Aram063)\
**Replies:** 0\
**Last updated:** [September 28, 2022, 1:15pm UTC](https://forums.unrealengine.com/t/how-to-use-zonegraph-crowds-npc-for-a-multiplayer-project/658260 "2022-09-28T13:15:59Z")

</div>

As we now ZoneGraph is used for handling a large number of NPCs in the Matrix project. Is there any way to use ZoneGraph for Multiplayer project and replicate data? If you have experience or thoughts about this, please…

---

## [The difference between FConnectionReplicationActorInfo.CullDistance and FClassReplicationInfo.CullDistance?](https://forums.unrealengine.com/t/the-difference-between-fconnectionreplicationactorinfo-culldistance-and-fclassreplicationinfo-culldistance/658082)

<div class="topic-metadata">

**Author:** [@asynchronous\_t](https://forums.unrealengine.com/u/asynchronous_t)\
**Replies:** 0\
**Last updated:** [September 28, 2022, 8:12am UTC](https://forums.unrealengine.com/t/the-difference-between-fconnectionreplicationactorinfo-culldistance-and-fclassreplicationinfo-culldistance/658082 "2022-09-28T08:12:36Z")

</div>

I know the FClassReplicationInfo.CullDistance is for Class setting and the FConnectionReplicationActorInfo.CullDistance is for one connection. But the GridSpatialization2D use the FClassReplicationInfo.CullDistance to d…

---

## [Client notification by UMG on server disconnection](https://forums.unrealengine.com/t/client-notification-by-umg-on-server-disconnection/363874)

<div class="topic-metadata">

**Author:** [@Jeren\_Osero](https://forums.unrealengine.com/u/Jeren_Osero)\
**Replies:** 4\
**Last updated:** [September 28, 2022, 12:12am UTC](https://forums.unrealengine.com/t/client-notification-by-umg-on-server-disconnection/363874 "2022-09-28T00:12:43Z")

</div>

At the moment I am involved in creating a multiplayer networked game and when the server disconnects, the clients simply get booted to the default map (the main menu in my case). What I’m trying to do is bring up a UMG w…

---

## [Sound Settings are all Good but in Game the mic dont operate?](https://forums.unrealengine.com/t/sound-settings-are-all-good-but-in-game-the-mic-dont-operate/657307)

<div class="topic-metadata">

**Author:** [@EUT-erz](https://forums.unrealengine.com/u/EUT-erz)\
**Replies:** 2\
**Last updated:** [September 27, 2022, 10:18am UTC](https://forums.unrealengine.com/t/sound-settings-are-all-good-but-in-game-the-mic-dont-operate/657307 "2022-09-27T10:18:47Z")

</div>

Please Help me in my mic … I can’t detect anyone who are using mic … even though my sounds and mic settings are all good. I already followed some Youtube videos about this error. I wish someone can help me. Thanks in A…

[Previous page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/multiplayer-networking/132.md?page=77)

[Next page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/multiplayer-networking/132.md?page=79)
