Destroying Server's Shootercharacter makes all pawn invisible


I have made this piece of code, inside the Playercontroller blueprint:
Before this code there a piece where there is a dino pawn spawned and possessed. In this code the Shootercharacter which isn’t possessed anymore gets destroyed.
When executing the code on the server player all the pawns turn invisible, they don’t disappear, but just become invisible. For every player, also the client. When executing the same code on the client there are no problems.

Does the server always need to have a Shootercharacter pawn to control or is it something with replication?

Thanks in advance!

Do you need more screenshots?