Testing with two players. When running on a dedicated server, the following code works as expected, but when on a listen server, the client player does not see the actor spawned by the server player (listen server host)
I’ve debugged extensively and can’t seem to figure this out. I can’t explain why the client doesn’t see actors spawned by the listen server host.
To make it clear, I have two players and am using a listen server:
- Server
- Client
Server sees the actor spawned by Server on Begin Play, as well as the actor spawned by Client on Begin Player.
Client sees the actor spawned by Client on Begin play, but does not see the actor spawned by Server on Begin Play.
I tried a sanity check and called spawn actors at based on custom input and everything worked. It seems to only be a problem during begin play and with a listen server. When using a dedicated server I do no have this issue