# Enemy can't apply damage to the main character with collision sphere after packaging

**URL:** <https://forums.unrealengine.com/t/enemy-cant-apply-damage-to-the-main-character-with-collision-sphere-after-packaging/427221>\
**Category:** Character & Animation\
**Tags:** damage-sense, unreal-engine, twin-stick, question, Blueprint\
**Created:** [June 12, 2018, 3:53pm UTC](https://forums.unrealengine.com/t/enemy-cant-apply-damage-to-the-main-character-with-collision-sphere-after-packaging/427221 "2018-06-12T15:53:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sorhane](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sorhane](https://forums.unrealengine.com/u/Sorhane)\
**Post date:** [June 12, 2018, 3:53pm UTC](https://forums.unrealengine.com/t/enemy-cant-apply-damage-to-the-main-character-with-collision-sphere-after-packaging/427221/1 "2018-06-12T15:53:45Z")

</div>

Hi everyone.  
To give you the conexte, I’m creating a top down twin stick zombie shooter for fun after all.  
I have my main character and my zombies.  
The character can shoot zombies, and zombies when the character is colliding in the sphere they are hitting the character and on their’re hands I have a little collider that applying damages to the character.

I don’t know if it’s the best way to do it, but it’s working a least in the editor.  
After packaging the game, everything is working exept this

Here is the damage system of my zombie

 ![244017-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/0/3/a03c4a24e16db984a7517e25f33d7d25533d641f.png)

And this is how my character is getting damages

 ![244018-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/b/1/1b159e21e7b4ed30260615014f3a18adb4c595ad.png)

Thank you

---

<div class="post-metadata">

**Author:** ![HarryHighDef](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HarryHighDef](https://forums.unrealengine.com/u/HarryHighDef)\
**Post date:** [June 13, 2018, 10:06am UTC](https://forums.unrealengine.com/t/enemy-cant-apply-damage-to-the-main-character-with-collision-sphere-after-packaging/427221/2 "2018-06-13T10:06:05Z")

</div>

Your left hand hit looks like it will always fail. You might want to bind your events from the components to a single event. It may be wise to cast on the end overlap as well to ensure it’s the player that you stop touching.

---

<div class="post-metadata">

**Author:** ![Sorhane](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sorhane](https://forums.unrealengine.com/u/Sorhane)\
**Post date:** [June 13, 2018, 10:45am UTC](https://forums.unrealengine.com/t/enemy-cant-apply-damage-to-the-main-character-with-collision-sphere-after-packaging/427221/3 "2018-06-13T10:45:57Z")

</div>

Now that you mention it I didn’t payed attention to that.  
I’ll try this thank you
