Since a player controller only exists on the server and on the owning client, calling a multicast from one isn't really a supported operation. However, this case is still handled cleanly when RepGraph isn't in use. This issue occurs when using the BasicReplicationGraph example and with ShooterReplicationGraph when AShooterPlayerController is modified to include a multicast RPC.
In a multiplayer game using the replication graph, set up a multicast RPC on the player controller and call it.
Expected: The RPC is only called on the server and on the client owning the player controller.
Actual: The RPC is called on the server, and the server receives an invalid swap message: "LogNet: Received invalid swap message with child index -1". The client also no longer seems to have a valid player controller.
How does TextureRenderTarget2D get TArray<uint8> type data?
How do I set a material as a post-processing material?
How would I go about lerping the rotation instead of it snapping when turning (pls dont sue me epic)
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
Why does the REMOVE method of map container remove elements have memory leaks?
How to delete some elements correctly when deleting an array loop?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-109948 in the post.
0 |
Component | UE - Networking |
---|---|
Target Fix | 4.27 |
Fix Commit | 15628950 |
---|
Created | Mar 4, 2021 |
---|---|
Resolved | Mar 5, 2021 |
Updated | Nov 29, 2022 |