# Spotlight intensity change attached to pawn replicates on editor but not on packaged game

**URL:** <https://forums.unrealengine.com/t/spotlight-intensity-change-attached-to-pawn-replicates-on-editor-but-not-on-packaged-game/491005>\
**Category:** Multiplayer & Networking\
**Tags:** Replication, unreal-engine, Multiplayer, flashlight, question\
**Created:** [November 17, 2021, 3:17am UTC](https://forums.unrealengine.com/t/spotlight-intensity-change-attached-to-pawn-replicates-on-editor-but-not-on-packaged-game/491005 "2021-11-17T03:17:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![8era\_8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@8era\_8](https://forums.unrealengine.com/u/8era_8)\
**Post date:** [November 17, 2021, 3:17am UTC](https://forums.unrealengine.com/t/spotlight-intensity-change-attached-to-pawn-replicates-on-editor-but-not-on-packaged-game/491005/1 "2021-11-17T03:17:49Z")

</div>

I’ve been trying to get my flashlight to work on multiplayer and it works fine in the editor, even when I use the standalone mode.  
However whenever I package my game and test it both using two instances on the same computer and in LAN on different devices it doesn’t.  
I’ve done a bit of debugging and it appears all of my replication events are being executed correctly on the server and client, however the “intensity” variable on my spotlight component remains 0 in the packaged game. Any idea on why this is happening?

 ![352362-flashlightblueprint.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/c/7/1c77d2683f6deddbf9756ea9afc773567388573c.jpeg)

**The blueprint for my flashlight inside the parent class for the pawns I use.**

* * *

![352363-e-flashlightclient.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/9/8/3983ba7a50808a2b52e430223361e3f177cfa100.png)

**The debug result for the flashlight called from the client from the editor, as you can see the light intensity is set correctly and the flashlight is visible.**

* * *

![352364-screenshot-6.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/f/e/afe2348ae2a6254d3a514b668207f2f40531f675.png)

![352365-p-flashlightserver.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/1/7/a17621623e1498597069cc38bd2df953afb030ab.png)

**Debug result on the packaged game, on both host and client respectively, the light intensity remains 0 and no one can see their flashlights**

* * *

(and yes the spotlight attached to the pawn is set to “replicated”)

Any idea on why thiss is happening? thanks in advance

---

<div class="post-metadata">

**Author:** ![8era\_8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@8era\_8](https://forums.unrealengine.com/u/8era_8)\
**Post date:** [November 17, 2021, 6:14am UTC](https://forums.unrealengine.com/t/spotlight-intensity-change-attached-to-pawn-replicates-on-editor-but-not-on-packaged-game/491005/2 "2021-11-17T06:14:44Z")

</div>

Ok I’m an idiot for some reason Is Editor Only was ticked… guess that solved it
