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?