- In ShooterGame place a wall with the material Glass_M
- Enter the game in multiplayer mode by 3 players
- If you place players on different sides of the wall, then players become invisible
Further, if in AShooterCharacter::OnReplicationPausedChanged comment GetMesh () → SetHiddenInGame (bIsReplicationPaused, true);
void AShooterCharacter::OnReplicationPausedChanged (bool bIsReplicationPaused)
{
// GetMesh () -> SetHiddenInGame (bIsReplicationPaused, true);
}
Then the players are visible behind the wall, but if Client1 looks like Client2 is behind the wall, and then Client2 stops behind the wall, then Client1 continues to see that Client2 is moving
How to fix these errors?