Make light only visible to owner

I’m not sure you can activate a light only on one client, unless you spawn it locally on that specific client.

Hi,

I have a character moving in relative dark areas. I added a light to my Player BP to lighten up near things around my charater.

Unfortunately the light is replicated to all clients. How can I stop that?

And how do I do that? I tried following: Spawn on BeginPlay in my PlayerBP. Then it gets spawned everywhere regardless of the “OnlyRelevantToOwner” property I set. Then the ControllerBP: it has no “OnPossess” event, so I do not know where I should spawn the light and where to remove when I switch the pawn.

Try spawning the light in a custom event, call it ClientSpawn and set the event’s replication to Run On Owning Client: