The array itself isn't replicated. It just indirectly tracks the actors of type 'APlayerState' that are replicated. You could possibly sort the actors by player name or score in your implementation as a workaround. We don't sort internally since we don't know what the application would want to sort by.
The GameState's PlayerArray is not being replicated in the same order. This occurred every time I tested in Standalone game, but did not seem to occur when I tested in a new editor window.
The Standalone settings are set to not Use Single Process and also set to Play As Listen Server for the multiplayer mode.
The user states that occasionally the array will be in the correct order, but it is much more consistent for the order to be different between the server and client.
Result: Notice that the player names are not printed in the same order.
Expected: The player names would be printed in the same order consistently, indicating that the array is in the same order on the client and server.
I am not able to find world outliner how to enable it?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
Delay nodes occasionally don't fire the "Completed" output in a nativized build
How does TextureRenderTarget2D get TArray<uint8> type data?
How can i modify the param name in EQS node
How to achieve HLSL Multiple Render Target in Material blueprints?
An error occurred while trying to generate project files !?
Head over to the existing Questions & Answers thread and let us know what's up.
2 |
Component | UE - Networking |
---|---|
Affects Versions | 4.13, 4.14, 4.15 |
Created | Nov 28, 2016 |
---|---|
Resolved | Nov 30, 2016 |
Updated | Sep 12, 2017 |