Index -1 Received swap message with child index Server Error

Hello guys,

So today I come with an issue that’s been bugging me for just too long. We’ve tried troubleshooting it but find no luck in solving this…

So the situation is the following: In our game, when a character is killed by others, all other controllers are disconnected (as all return with the message Index -1 Received swap message with child index), trying to take possession of the pawn (also spawning the UI and thus requiring them to reconnect to the server to regain functionality. What I don’t understand is why is this happening.

I will post images of the logic of what occurs when a character dies.

All help is greatly appreciated. Thank you!

Damage (from event Any Damage)
http://puu.sh/sDKhx/97bef9742c.png

Executed from client to make sure correct controller reference is obtained
http://puu.sh/sDKic/4dc2df2e53.jpg

Replicated event for Death. Controller from client is given to Spawn Class Select
http://puu.sh/sDKl4/12c9c54f7f.jpg

Extra Check for machine ID
http://puu.sh/sDKm3/959141c7f0.jpg

Interface Execution
http://puu.sh/sDKnm/336d798456.png

Spawn Class Select from the Server
http://puu.sh/sDKoG/8e245edf77.png

Possess the pawn from the server
http://puu.sh/sDKpz/113ed91c45.jpg

What am I doing wrong?

Hello bryst_m153 ,

Sorry for the delay on this one.

After looking through your blueprint, I didn’t notice anything immediately apparent that could be causing the issue. What would be great is if you would be able to reproduce the issue in a clean project in its simplest form and provide a set of repro steps that we can use to see the issue on our end.

Not sure what I did… but I think the problem is when casting to the game mode to register the kills. I disconnected it for a build (by accident) and I’m not facing it so often anymore…

I’ll get back to you in the beginning of next week if I have a more detailed outline of what’s going on.