We have a problem where ULocalPlayers get deleted when another player spawns in the network.
For example if we have a ListenServer and one client. The client spawns first and works correctly, then the listenserver spawns → the clients Player is removed, the PlayerController and Pawn still exist though.
At about the same time LogNet says this:
LogNet:Verbose: Level server received: PCSwap
LogNet: Received invalid swap message with child index -1
I’m not sure what would cause that. I found the location in the source code where that happens but I don’t understand what exactly is happening.
Any ideas?
My problem was with reliable multicast in player controller.
You can not multi cast in player controller because not every clients have all player controller object reference.
My problem was with reliable multicast in player controller. You can not multi cast in player controller because not every clients have all player controller object reference.