# Spawn Emitter On Hit Client problem

**URL:** <https://forums.unrealengine.com/t/spawn-emitter-on-hit-client-problem/287855>\
**Category:** Blueprint\
**Tags:** client, hit-detection, unreal-engine, hit-event, Blueprint, question\
**Created:** [July 10, 2014, 4:25pm UTC](https://forums.unrealengine.com/t/spawn-emitter-on-hit-client-problem/287855 "2014-07-10T16:25:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_34311ab91](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_34311ab91](https://forums.unrealengine.com/u/anonymous_user_34311ab91)\
**Post date:** [July 10, 2014, 4:25pm UTC](https://forums.unrealengine.com/t/spawn-emitter-on-hit-client-problem/287855/1 "2014-07-10T16:25:38Z")

</div>

Hi everyone!

I’m having a problem with Spawn Emitter At Location’s consistency. I expanded the First Person example with network functionality and have the server spawn a projectile and when the projectile hits a surface, the client spawns an emitter at that location. I think the problem is that the client doesn’t always register that as a hit, even though the server does. You can see in the video below that the server logs the name of the actor hit, while the client sometimes does not. You can see in the video that the explosion sometimes happens and sometimes it doesn’t.

The Projectile is set to replicate and it’s fired from an event that happens on the server.

How would I go about solving this issue?

Video of the problem:

---

<div class="post-metadata">

**Author:** ![Omberone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Omberone](https://forums.unrealengine.com/u/Omberone)\
**Post date:** [December 11, 2014, 4:58pm UTC](https://forums.unrealengine.com/t/spawn-emitter-on-hit-client-problem/287855/2 "2014-12-11T16:58:27Z")

</div>

I don’t know if you still have this problem, but it might be because the actor manages to get destroyed on the server before the client gets to spawn an emitter. (Ie, server gets message, destroys actor, sends destroyed actor message, gets intercepted by the client before the client gets to do the hit-detection). Classic network race-condition

---

<div class="post-metadata">

**Author:** ![uw19](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@uw19](https://forums.unrealengine.com/u/uw19)\
**Post date:** [December 8, 2016, 4:52am UTC](https://forums.unrealengine.com/t/spawn-emitter-on-hit-client-problem/287855/3 "2016-12-08T04:52:01Z")

</div>

Solved my problem, thanks!

---

<div class="post-metadata">

**Author:** ![Tare\_E](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tare\_E](https://forums.unrealengine.com/u/Tare_E)\
**Post date:** [September 4, 2019, 11:27am UTC](https://forums.unrealengine.com/t/spawn-emitter-on-hit-client-problem/287855/4 "2019-09-04T11:27:01Z")

</div>

Please How Did you solve the problem
