# Multiplayer & Networking

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

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

**Page:** 88

---

## [How is it possible that the server and clent return the same player id? (Bug?)](https://forums.unrealengine.com/t/how-is-it-possible-that-the-server-and-clent-return-the-same-player-id-bug/571125)

<div class="topic-metadata">

**Author:** [@Tanoran](https://forums.unrealengine.com/u/Tanoran)\
**Replies:** 1\
**Last updated:** [May 31, 2022, 11:34pm UTC](https://forums.unrealengine.com/t/how-is-it-possible-that-the-server-and-clent-return-the-same-player-id-bug/571125 "2022-05-31T23:34:47Z")

</div>

I don’t understand the behavior I’m seeing. This code: produces this result: How is it that both the server and the client list the same player id when they should be different? You can clearly see that in this c…

---

## [Server not replicating to clients ](https://forums.unrealengine.com/t/server-not-replicating-to-clients/568327)

<div class="topic-metadata">

**Author:** [@Osmanoxil1](https://forums.unrealengine.com/u/Osmanoxil1)\
**Replies:** 3\
**Last updated:** [May 31, 2022, 6:01pm UTC](https://forums.unrealengine.com/t/server-not-replicating-to-clients/568327 "2022-05-31T18:01:23Z")

</div>

Hi all , thank you first , I have a problem : the server is not replicating the function to all users When the fire button is pressed this function is called : “Fire Button Pressed” ( picture 2 ) and then it calls a …

---

## [Character look at mouse - Multiplayer Replication](https://forums.unrealengine.com/t/character-look-at-mouse-multiplayer-replication/153270)

<div class="topic-metadata">

**Author:** [@ben\_moore1](https://forums.unrealengine.com/u/ben_moore1)\
**Replies:** 2\
**Last updated:** [May 31, 2022, 5:46pm UTC](https://forums.unrealengine.com/t/character-look-at-mouse-multiplayer-replication/153270 "2022-05-31T17:46:15Z")

</div>

I am pretty new to network multiplayer in ue4 so I just can’t seem to figure out this problem. So I have a player character that is controlled by a player controller. In my pawn I am doing basic things like w,a,s,d move…

---

## [Mouse Cursor Replication](https://forums.unrealengine.com/t/mouse-cursor-replication/570109)

<div class="topic-metadata">

**Author:** [@lukaoooo](https://forums.unrealengine.com/u/lukaoooo)\
**Replies:** 4\
**Last updated:** [May 31, 2022, 3:55am UTC](https://forums.unrealengine.com/t/mouse-cursor-replication/570109 "2022-05-31T03:55:59Z")

</div>

hello, I’m doing a project with multiplayer so I’m facing the problem of getting the mouse location of each player, I use it to make the aim of the character, the problem is that I’m not getting this variable replic…

---

## [Mouse Cursor Replication](https://forums.unrealengine.com/t/mouse-cursor-replication/431228)

<div class="topic-metadata">

**Author:** [@U.Dev](https://forums.unrealengine.com/u/U.Dev)\
**Replies:** 3\
**Last updated:** [May 31, 2022, 3:17am UTC](https://forums.unrealengine.com/t/mouse-cursor-replication/431228 "2022-05-31T03:17:44Z")

</div>

This is my second post about this, and it seems that nobody knows how to fix it i read about this on almost every internet page and still can’t find any possible solution i was hoping that AnswerHub will get my problem s…

---

## [How to pause replication until a web request is cached?](https://forums.unrealengine.com/t/how-to-pause-replication-until-a-web-request-is-cached/570209)

<div class="topic-metadata">

**Author:** [@StuntThumper88](https://forums.unrealengine.com/u/StuntThumper88)\
**Replies:** 1\
**Last updated:** [May 30, 2022, 7:54pm UTC](https://forums.unrealengine.com/t/how-to-pause-replication-until-a-web-request-is-cached/570209 "2022-05-30T19:54:12Z")

</div>

I’m trying to cache stuff from a database on begin play on both server and client (in BPs but can move to code if needed). I need replication to the clients to wait until the client has their cache updated. Is this possi…

---

## [Correct way to wait replication of an Actor ? \*solved\*](https://forums.unrealengine.com/t/correct-way-to-wait-replication-of-an-actor-solved/142728)

<div class="topic-metadata">

**Author:** [@Aherys](https://forums.unrealengine.com/u/Aherys)\
**Replies:** 4\
**Last updated:** [May 30, 2022, 9:56am UTC](https://forums.unrealengine.com/t/correct-way-to-wait-replication-of-an-actor-solved/142728 "2022-05-30T09:56:59Z")

</div>

So, Imagine i’ve got a Weapon, Actor, replicated. I want to spawn it, then play with him (give him to a player for example). In a perfect world, i will spawn him, and give by the constructor to who i want to give the …

---

## [Net roles are different between PIE listen server and PIE OpenLevel listen server](https://forums.unrealengine.com/t/net-roles-are-different-between-pie-listen-server-and-pie-openlevel-listen-server/568662)

<div class="topic-metadata">

**Author:** [@gh0stfase1](https://forums.unrealengine.com/u/gh0stfase1)\
**Replies:** 2\
**Last updated:** [May 29, 2022, 2:21pm UTC](https://forums.unrealengine.com/t/net-roles-are-different-between-pie-listen-server-and-pie-openlevel-listen-server/568662 "2022-05-29T14:21:04Z")

</div>

I’m noticing inconsistent behavior with respect to the net roles when running an editor created listen server versus an “OpenLevel” created listen server. In both instances I’m running with PIE…I haven’t checked what a p…

---

## [How do you get the info from all players in all players in multiplay?](https://forums.unrealengine.com/t/how-do-you-get-the-info-from-all-players-in-all-players-in-multiplay/569025)

<div class="topic-metadata">

**Author:** [@eldany.uy](https://forums.unrealengine.com/u/eldany.uy)\
**Replies:** 2\
**Last updated:** [May 29, 2022, 7:05am UTC](https://forums.unrealengine.com/t/how-do-you-get-the-info-from-all-players-in-all-players-in-multiplay/569025 "2022-05-29T07:05:15Z")

</div>

Hi! I have a Pawn with a ‘name’ variable. Its set to replicate. if I set the name of each player in the session, I get the game state, then the players array, each player just can see the server players name and its ow…

---

## [Player Not Replicated in World Composition?](https://forums.unrealengine.com/t/player-not-replicated-in-world-composition/568938)

<div class="topic-metadata">

**Author:** [@VelikyPanda](https://forums.unrealengine.com/u/VelikyPanda)\
**Replies:** 0\
**Last updated:** [May 29, 2022, 1:23am UTC](https://forums.unrealengine.com/t/player-not-replicated-in-world-composition/568938 "2022-05-29T01:23:06Z")

</div>

Hi, I’ve got a map made using world compositor (uses level streaming) and I’m trying to get the Third Person Demo to work on it in multiplayer. However, the characters are not replicated on the world compositor map. …

---

## [Issues sending UDP data from an UE4 iOS app](https://forums.unrealengine.com/t/issues-sending-udp-data-from-an-ue4-ios-app/479654)

<div class="topic-metadata">

**Author:** [@datee](https://forums.unrealengine.com/u/datee)\
**Replies:** 2\
**Last updated:** [May 28, 2022, 8:17pm UTC](https://forums.unrealengine.com/t/issues-sending-udp-data-from-an-ue4-ios-app/479654 "2022-05-28T20:17:54Z")

</div>

So… i have this system sending information between different ue4 clients over udp. And it all works fine, except on iOS. I can send data -TO- an ios device over udp and that works fine. But sending data -FROM- the device…

---

## [Physics handle in Multiplayer](https://forums.unrealengine.com/t/physics-handle-in-multiplayer/568354)

<div class="topic-metadata">

**Author:** [@Harkida1](https://forums.unrealengine.com/u/Harkida1)\
**Replies:** 0\
**Last updated:** [May 28, 2022, 2:46am UTC](https://forums.unrealengine.com/t/physics-handle-in-multiplayer/568354 "2022-05-28T02:46:47Z")

</div>

I’ve been working on this for several days… Tried to scavenge around many information here and in other blogs, comunity etc… to fix this. As you see, client can’t grab the object This is what I made I…

---

## [How to launch as client?](https://forums.unrealengine.com/t/how-to-launch-as-client/568188)

<div class="topic-metadata">

**Author:** [@eldany.uy](https://forums.unrealengine.com/u/eldany.uy)\
**Replies:** 2\
**Last updated:** [May 27, 2022, 9:26pm UTC](https://forums.unrealengine.com/t/how-to-launch-as-client/568188 "2022-05-27T21:26:41Z")

</div>

Hi! I am testing a basic project in the editor running the server and a couple clients and works ok. now I want to test the same outside the Editor, but if I right click the uproject file and launch the game as standal…

---

## [Camera Bug Fix With Bad Network Emulation](https://forums.unrealengine.com/t/camera-bug-fix-with-bad-network-emulation/566041)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_dad87f37](https://forums.unrealengine.com/u/anonymous_user_dad87f37)\
**Replies:** 3\
**Last updated:** [May 27, 2022, 7:53pm UTC](https://forums.unrealengine.com/t/camera-bug-fix-with-bad-network-emulation/566041 "2022-05-27T19:53:38Z")

</div>

Hi all. I have a bug, when starting the game, how a Client, with a Bad Network Emulation (Minimum Latency 300), the first frames appear under the map in zero position. After a second, the controller appears and he takes …

---

## [Kill mechanic problem](https://forums.unrealengine.com/t/kill-mechanic-problem/565203)

<div class="topic-metadata">

**Author:** [@GameExp](https://forums.unrealengine.com/u/GameExp)\
**Replies:** 16\
**Last updated:** [May 27, 2022, 4:33pm UTC](https://forums.unrealengine.com/t/kill-mechanic-problem/565203 "2022-05-27T16:33:27Z")

</div>

The idea is that the player presses the kill button (Q) and the closest player dies. But my cast: 1. Roles: Server - victim; Client - killer. Action: Client removes its widgets, Client sees server dying animation, N…

---

## [Server&Client&Migration](https://forums.unrealengine.com/t/server-client-migration/567801)

<div class="topic-metadata">

**Author:** [@MAKSIM](https://forums.unrealengine.com/u/MAKSIM)\
**Replies:** 0\
**Last updated:** [May 27, 2022, 10:51am UTC](https://forums.unrealengine.com/t/server-client-migration/567801 "2022-05-27T10:51:43Z")

</div>

Hello everyone. Has anyone used the Host Migration System Host Migration System in Code Plugins - UE Marketplace (is it worth taking it)? In general, I need it to be like in cs 1.6. So that anyone who wished could be a s…

---

## [Assign Location to Three Objects At Random](https://forums.unrealengine.com/t/assign-location-to-three-objects-at-random/567253)

<div class="topic-metadata">

**Author:** [@JohnBsGhost](https://forums.unrealengine.com/u/JohnBsGhost)\
**Replies:** 21\
**Last updated:** [May 27, 2022, 7:52am UTC](https://forums.unrealengine.com/t/assign-location-to-three-objects-at-random/567253 "2022-05-27T07:52:38Z")

</div>

Hi! I’m trying to find a way to place three objects in a scene in one of three places I’ve designated as a relative position inside the blueprint. Essentially, each time the blueprint is used, it sets the position of ea…

---

## [Clients are able to pick up unlimited copies of a droppped weapon as to them the actor doesn't destroy.. Believe it has something to do with the timing but not sure where I'm going wrong](https://forums.unrealengine.com/t/clients-are-able-to-pick-up-unlimited-copies-of-a-droppped-weapon-as-to-them-the-actor-doesnt-destroy-believe-it-has-something-to-do-with-the-timing-but-not-sure-where-im-going-wrong/567351)

<div class="topic-metadata">

**Author:** [@AusarMohatu](https://forums.unrealengine.com/u/AusarMohatu)\
**Replies:** 0\
**Last updated:** [May 26, 2022, 9:17pm UTC](https://forums.unrealengine.com/t/clients-are-able-to-pick-up-unlimited-copies-of-a-droppped-weapon-as-to-them-the-actor-doesnt-destroy-believe-it-has-something-to-do-with-the-timing-but-not-sure-where-im-going-wrong/567351 "2022-05-26T21:17:03Z")

</div>

---

## [Dedicated server crashes when accepting a new connection](https://forums.unrealengine.com/t/dedicated-server-crashes-when-accepting-a-new-connection/567030)

<div class="topic-metadata">

**Author:** [@yateam](https://forums.unrealengine.com/u/yateam)\
**Replies:** 3\
**Last updated:** [May 26, 2022, 4:40pm UTC](https://forums.unrealengine.com/t/dedicated-server-crashes-when-accepting-a-new-connection/567030 "2022-05-26T16:40:16Z")

</div>

Hello, I have a weird problem, hope you might point me to the right direction. I have a dedicated server running and listening to new connections. But once it accepts a connection it crashes with the following log: \[…

---

## [Server vs Client. Client will not play animation but server does (on action mapping button press)](https://forums.unrealengine.com/t/server-vs-client-client-will-not-play-animation-but-server-does-on-action-mapping-button-press/384544)

<div class="topic-metadata">

**Author:** [@The\_Twish](https://forums.unrealengine.com/u/The_Twish)\
**Replies:** 2\
**Last updated:** [May 26, 2022, 8:31am UTC](https://forums.unrealengine.com/t/server-vs-client-client-will-not-play-animation-but-server-does-on-action-mapping-button-press/384544 "2022-05-26T08:31:05Z")

</div>

I’m trying to get a character to play an animation when q is pressed. I have an action mapping event in the character that calls a multicast function in the game mode. The function sets a Boolean to true called PlayQAnem…

---

## [How to run multiple sessions on single dedicated server?](https://forums.unrealengine.com/t/how-to-run-multiple-sessions-on-single-dedicated-server/346578)

<div class="topic-metadata">

**Author:** [@newbprofi](https://forums.unrealengine.com/u/newbprofi)\
**Replies:** 4\
**Last updated:** [May 26, 2022, 3:42am UTC](https://forums.unrealengine.com/t/how-to-run-multiple-sessions-on-single-dedicated-server/346578 "2022-05-26T03:42:27Z")

</div>

As far as i understand, UE4 networking dedicated server is supposted to use only with single session? Single map. Right? What if i want to make server, which has many (5v5) sessions? What should i do? Launch multipl…

---

## [Questions for dev of simple interactive game on dedicated server](https://forums.unrealengine.com/t/questions-for-dev-of-simple-interactive-game-on-dedicated-server/559045)

<div class="topic-metadata">

**Author:** [@Arc\_lord](https://forums.unrealengine.com/u/Arc_lord)\
**Replies:** 2\
**Last updated:** [May 26, 2022, 3:21am UTC](https://forums.unrealengine.com/t/questions-for-dev-of-simple-interactive-game-on-dedicated-server/559045 "2022-05-26T03:21:48Z")

</div>

hi, may I have some questions for dev of simple interactive game on dedicated server I wanna know what is the difference when developing dedicated server game with or without game session, can i interact with other pl…

---

## [Problem with line trace in a center of screen(listen-sever)](https://forums.unrealengine.com/t/problem-with-line-trace-in-a-center-of-screen-listen-sever/565424)

<div class="topic-metadata">

**Author:** [@Double98L1](https://forums.unrealengine.com/u/Double98L1)\
**Replies:** 1\
**Last updated:** [May 25, 2022, 5:57pm UTC](https://forums.unrealengine.com/t/problem-with-line-trace-in-a-center-of-screen-listen-sever/565424 "2022-05-25T17:57:25Z")

</div>

Hi everyone! I’m trying to make a simple multiplayer FPS but when i cast a line trace to screen center the line hit in another poin (every the same, a little lower than the center). If i set use pawn control rotation o…

---

## [Client bullets doesn't spawn in right location](https://forums.unrealengine.com/t/client-bullets-doesnt-spawn-in-right-location/565225)

<div class="topic-metadata">

**Author:** [@MR\_HOLIDAY6661](https://forums.unrealengine.com/u/MR_HOLIDAY6661)\
**Replies:** 1\
**Last updated:** [May 25, 2022, 3:30pm UTC](https://forums.unrealengine.com/t/client-bullets-doesnt-spawn-in-right-location/565225 "2022-05-25T15:30:48Z")

</div>

Hello everyone, I am trying to make a multiplayer third person shooting game. When shooting bullets, the bullets should be spawned at the muzzle(a socket of the gun’s skeletalmesh). It works well on server but on clien…

---

## [UE4 dedicated server error: PacketHandlerLog: Error: PacketHandler parsing packet with zero's in last byte](https://forums.unrealengine.com/t/ue4-dedicated-server-error-packethandlerlog-error-packethandler-parsing-packet-with-zeros-in-last-byte/560040)

<div class="topic-metadata">

**Author:** [@Kytan7](https://forums.unrealengine.com/u/Kytan7)\
**Replies:** 1\
**Last updated:** [May 25, 2022, 3:23pm UTC](https://forums.unrealengine.com/t/ue4-dedicated-server-error-packethandlerlog-error-packethandler-parsing-packet-with-zeros-in-last-byte/560040 "2022-05-25T15:23:06Z")

</div>

Hi, I am currently hosting my dedicated server locally but I can’t login to it, when I type in the console “open 127.0.0.1” of my client, the server starts logging this message multiple times: \[2022.05.18-08.21.42:543…

---

## [Possible to get widget components by type?](https://forums.unrealengine.com/t/possible-to-get-widget-components-by-type/566199)

<div class="topic-metadata">

**Author:** [@BIGTIMEMASTER](https://forums.unrealengine.com/u/BIGTIMEMASTER)\
**Replies:** 0\
**Last updated:** [May 25, 2022, 2:21pm UTC](https://forums.unrealengine.com/t/possible-to-get-widget-components-by-type/566199 "2022-05-25T14:21:30Z")

</div>

Does anybody know a way to get widget components by type through blueprint? I.E. get all Buttons, Canvas Panels, Vertical Boxes, etc within a widget? Otherwise, some way to designate a widget component, like assigning i…

---

## [Activate Trigger with only one player in multiplayer game](https://forums.unrealengine.com/t/activate-trigger-with-only-one-player-in-multiplayer-game/566166)

<div class="topic-metadata">

**Author:** [@Eakka](https://forums.unrealengine.com/u/Eakka)\
**Replies:** 0\
**Last updated:** [May 25, 2022, 1:42pm UTC](https://forums.unrealengine.com/t/activate-trigger-with-only-one-player-in-multiplayer-game/566166 "2022-05-25T13:42:07Z")

</div>

I’m using the “Collaborative Viewer” template and I would like to create triggers that can be activated by only one of the players connected in a local network. For example a button that can only be pressed by the first …

---

## [Connecting UE5 client to a custom C++ server](https://forums.unrealengine.com/t/connecting-ue5-client-to-a-custom-c-server/564580)

<div class="topic-metadata">

**Author:** [@nightcapz](https://forums.unrealengine.com/u/nightcapz)\
**Replies:** 2\
**Last updated:** [May 24, 2022, 4:26am UTC](https://forums.unrealengine.com/t/connecting-ue5-client-to-a-custom-c-server/564580 "2022-05-24T04:26:20Z")

</div>

Long story short, I have a server that fed an old game engine that has become stale, started to convert the client code to unity, but there is alot of things I didn’t like, so I am looking to move the client to UE5. I …

---

## [Sound replication in UE4 is a joke](https://forums.unrealengine.com/t/sound-replication-in-ue4-is-a-joke/12704)

<div class="topic-metadata">

**Author:** [@Zeb89](https://forums.unrealengine.com/u/Zeb89)\
**Replies:** 10\
**Last updated:** [May 23, 2022, 4:55pm UTC](https://forums.unrealengine.com/t/sound-replication-in-ue4-is-a-joke/12704 "2022-05-23T16:55:22Z")

</div>

We are working on a FPS game and have encountered what appears to be a serious issue preventing the replication of sounds (jumping, shooting, etc) in multiplayer. To put it simply: sounds do not play between clients so …

---

## [How UE4 ensure TWeakObjectPtr::Get()'s return UObject\* pointer safe?](https://forums.unrealengine.com/t/how-ue4-ensure-tweakobjectptr-get-s-return-uobject-pointer-safe/561892)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_66a581041](https://forums.unrealengine.com/u/anonymous_user_66a581041)\
**Replies:** 2\
**Last updated:** [May 23, 2022, 1:44am UTC](https://forums.unrealengine.com/t/how-ue4-ensure-tweakobjectptr-get-s-return-uobject-pointer-safe/561892 "2022-05-23T01:44:56Z")

</div>

Hi, I am a newer, I have a question about Smart Pointer usage in UObject objects, blow is the description: Usually, I have a member UObject\* field tagged by UPROPERTY() in a AActor class ( we call it HOLDER for for), …

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

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