Inconsistent multiplayer Actor "Net Load On Client" behaviour
Hello, I'm seeing inconsistent bNetLoadOnClient (Net Load On Client) behaviour using both blueprint and C++ in UE4.8. In certain situations, the actor still loads on clients, ignoring "Net Load On Client" set to false.
1.Create an empty level.
2.Create a new blueprint class based on Actor, eg. "TestActor".
3.In the Class Defaults for "TestActor", uncheck "Replication > Net Load on Client".
4.Add a visible component to the actor (eg. Static Mesh or Text Render) so it's easily visible in-game.
5.Drag an instance of TestActor into the world where you can easily see it.
6.Under "Play > Advanced Settings", set "Multiplayer Options > Number of Players" to 2, and ensure "Use Single Process" is checked.
7.Run "Play > Selected Viewport". Observe the test actor is only visible on the listen server, as expected.
8.Under "Play > Advanced Settings", uncheck "Multiplayer Options > Use Single Process" and ensure the Editor Multipalyer Mode is "Play As Listen Server".
9.Run "Play > Selected Viewport". Observe the test actor is visible on both the client and server, ignoring its "Net Load on Client" flag.
I can provide a video on request. Thanks for your help!
Thanks for the report! I was able to reproduce this in 4.8.3 as well as our internal builds, and I've entered a bug report for the issue (UE-19530). It's unlikely this will be fixed quickly, however, as disabling Use Single Process isn't recommended, and this does not occur in packaged games. The best way to test is to create a shortcut to the editor with the location of the project and the commandline parameters -game. You can also specify one as the listen server and directly connect a second as a client if you don't have your connections set up in game yet.
I will mention, however, that there's another bug with Net Load on Client being disabled, in that collision appears to be loaded on Clients regardless. I've got another bug report in for that as well (UE-19529).
I will let you know when I see any update on these. Thanks again!
answered Aug 03 '15 at 04:53 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here