Hi guys! I am needing some pro advices 
I am testing my multiplayer game (steam game) and works great, but I have some players
that sometimes are ‘kicked’ from the game. I mean…we are all playing and then suddenly they come back to main menu for no reason. Its like if the system decides to remove them. One thing that calls my attention is that those are almost the same players all the time (some guys. Most other players dont have this issue).
How can I debbug or find the problem for this leaving players?
I dont expect the solution because I am aware that problem can be from multiple factors, but I am asking from some advice about where to dig or things like that.
Thanks!
The log should reveal the cause.
HandleNetworkError in GameInstance is most likely being called when it happens revealing the type of error and a clue to why it happened.
It could be Reliable RPC’s being overused and causing the client to be kicked, again look in the log for errors.
It could be a bug that destroys a PlayerController which would also result in a disconnect.
It could be a normal disconnect that is being called by mistake.
1 Like
Thanks for your reply!
The game involve pshysics with the players. I disabled Kill-z/check world bounds.
Need more testings but may be the cause.
Will also try testing in development (testing on steam with 10+ players)
I have a lot of reliable events too but dont run super often. Maybe I should avoid anyway?
sometimes I use a boolean with repnotify that I just flip the value to force running the callback function of it because repnotify only works if the variable value actually changes. (setting same value wont run the function). Any tip on this?
HandleNetworkError is also a great tip!
thanks again! 
the problem persists and cant find the cause 
I have some part oa f long log…but the client player crashes randomly (and is often the same guy)
[2024.05.18-01.42.49:972][371]LogSteamCoreSocketsAPI: Verbose: SteamCoreSockets API: Log [#275750619 P2P SDR steamid:76561199233113498 vport 7777] Discarding inactive session gru#145 (155.133.227.52:27021). ConnectionShutdown
[2024.05.18-01.42.49:972][371]LogSteamCoreSocketsAPI: Verbose: SteamCoreSockets API: Log [#275750619 P2P SDR steamid:76561199233113498 vport 7777] Discarding inactive session eze#59 (155.133.255.99:27027). ConnectionShutdown
[2024.05.18-01.42.49:981][371]LogBlueprintUserMessages: [Replays_BP_C_2147482148] Start Recording
[2024.05.18-01.42.50:015][373]LogScript: Warning: Attempted to access Jugador_BP_C_2147482154 via property CallFunc_Array_Get_Item, but Jugador_BP_C_2147482154 is not valid (pending kill or garbage)
Replays_BP_C /Game/Map/GameMap.GameMap:PersistentLevel.Replays_BP_C_2147482148
Function /Game/Blueprint/Replays_BP.Replays_BP_C:ExecuteUbergraph_Replays_BP:04CD
[2024.05.18-01.42.50:015][373]LogScript: Warning: Script call stack:
Function /Game/Blueprint/Replays_BP.Replays_BP_C:Record
Function /Game/Blueprint/Replays_BP.Replays_BP_C:ExecuteUbergraph_Replays_BP
[2024.05.18-01.42.50:015][373]LogScript: Warning: Attempted to access Jugador_BP_C_2147482154 via property CallFunc_Array_Get_Item, but Jugador_BP_C_2147482154 is not valid (pending kill or garbage)
Replays_BP_C /Game/Map/GameMap.GameMap:PersistentLevel.Replays_BP_C_2147482148
Function /Game/Blueprint/Replays_BP.Replays_BP_C:ExecuteUbergraph_Replays_BP:0592
[2024.05.18-01.42.50:015][373]LogScript: Warning: Script call stack:
Function /Game/Blueprint/Replays_BP.Replays_BP_C:Record
Function /Game/Blueprint/Replays_BP.Replays_BP_C:ExecuteUbergraph_Replays_BP
[2024.05.18-01.42.50:015][373]LogScript: Warning: Accessed None
Replays_BP_C /Game/Map/GameMap.GameMap:PersistentLevel.Replays_BP_C_2147482148
Function /Game/Blueprint/Replays_BP.Replays_BP_C:ExecuteUbergraph_Replays_BP:05A7
[2024.05.18-01.42.50:015][373]LogScript: Warning: Script call stack:
Function /Game/Blueprint/Replays_BP.Replays_BP_C:Record
Function /Game/Blueprint/Replays_BP.Replays_BP_C:ExecuteUbergraph_Replays_BP
[2024.05.18-01.42.50:031][374]LogScript: Warning: Attempted to access Jugador_BP_C_2147482154 via property CallFunc_Array_Get_Item, but Jugador_BP_C_2147482154 is not valid (pending kill or garbage)
Replays_BP_C /Game/Map/GameMap.GameMap:PersistentLevel.Replays_BP_C_2147482148
Function /Game/Blueprint/Replays_BP.Replays_BP_C:ExecuteUbergraph_Replays_BP:04CD
[2024.05.18-01.42.50:031][374]LogScript: Warning: Script call stack:
Function /Game/Blueprint/Replays_BP.Replays_BP_C:Record
Function /Game/Blueprint/Replays_BP.Replays_BP_C:ExecuteUbergraph_Replays_BP
I dont know how to find out