# Players invisible behind the transparent wall in ShooterGame

**URL:** <https://forums.unrealengine.com/t/players-invisible-behind-the-transparent-wall-in-shootergame/389786>\
**Category:** Multiplayer & Networking\
**Tags:** shootergame, unreal-engine, Multiplayer, Rendering, question\
**Created:** [April 3, 2017, 4:28am UTC](https://forums.unrealengine.com/t/players-invisible-behind-the-transparent-wall-in-shootergame/389786 "2017-04-03T04:28:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_67971eea](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_67971eea](https://forums.unrealengine.com/u/anonymous_user_67971eea)\
**Post date:** [April 3, 2017, 4:28am UTC](https://forums.unrealengine.com/t/players-invisible-behind-the-transparent-wall-in-shootergame/389786/1 "2017-04-03T04:28:03Z")

</div>

1. In ShooterGame place a wall with the material Glass\_M
2. Enter the game in multiplayer mode by 3 players
3. 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?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a2ba6052](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a2ba6052](https://forums.unrealengine.com/u/anonymous_user_a2ba6052)\
**Post date:** [April 3, 2017, 10:52am UTC](https://forums.unrealengine.com/t/players-invisible-behind-the-transparent-wall-in-shootergame/389786/2 "2017-04-03T10:52:30Z")

</div>

Can you rephrase your question??

> 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

But I think your problem is because of SetHiddenInGame and passing it along the n/w.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_67971eea](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_67971eea](https://forums.unrealengine.com/u/anonymous_user_67971eea)\
**Post date:** [April 4, 2017, 2:02am UTC](https://forums.unrealengine.com/t/players-invisible-behind-the-transparent-wall-in-shootergame/389786/3 "2017-04-04T02:02:08Z")

</div>

I hope the video will be the best description. Client1 (window on the left) starts moving and stops. Client2 (window to the right) continues to see movement infinitely

Thank you very much for your help!

![132744-sample.gif](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/d/2/ad25d0be6b8715ca25193bdbc9d0d87cb52f2b4e.gif)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_67971eea](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_67971eea](https://forums.unrealengine.com/u/anonymous_user_67971eea)\
**Post date:** [July 10, 2017, 3:48am UTC](https://forums.unrealengine.com/t/players-invisible-behind-the-transparent-wall-in-shootergame/389786/4 "2017-07-10T03:48:42Z")

</div>

I resovled problem. You must select Invisible Wall the Visibility collision in Ignore or Overlap

![191854-visible.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/0/f/40ffd28261b059673885734109a1c8877349e977.png)
