# OnComponentBeginOverlap Function Not Firing

**URL:** <https://forums.unrealengine.com/t/oncomponentbeginoverlap-function-not-firing/385688>\
**Category:** Platform & Builds\
**Tags:** oncomponentbeginover, run-behavior, unreal-engine, packaged-game, packaging-projects, Blueprint, question\
**Created:** [February 21, 2017, 5:06pm UTC](https://forums.unrealengine.com/t/oncomponentbeginoverlap-function-not-firing/385688 "2017-02-21T17:06:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_9f353473](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9f353473](https://forums.unrealengine.com/u/anonymous_user_9f353473)\
**Post date:** [February 21, 2017, 5:06pm UTC](https://forums.unrealengine.com/t/oncomponentbeginoverlap-function-not-firing/385688/1 "2017-02-21T17:06:11Z")

</div>

I have an OnComponentBeginOverlap Function that is attached to my main player actor in my game. It is supposed to fire when a certain characteristic of my player overlaps a trigger object. The function will fire in the editor regardless of the options I select for running my game. When I package the project (in either shipment or development) the function will not fire from the application. It will fire on my NPC opponent who has a very similar function.

Any other information you may need please feel free to ask. Thank you!

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [February 21, 2017, 6:43pm UTC](https://forums.unrealengine.com/t/oncomponentbeginoverlap-function-not-firing/385688/2 "2017-02-21T18:43:25Z")

</div>

Hey crichard,

I have a few questions to help narrow your issue down:

- Could you please provide a screenshot of your blueprint setup so I can replicate it on my end?
- What platform are you packaging for (Windows, Mac, Android, etc)?
- Do the overlap events work if you Play in Standalone?
- Could you please provide the logs from your project’s Saved-\>Logs folder after running the packaged game?
- Could you do me a favor and in Edit-\>Project Settings-\>Packaging, expand the Packaging category and look for Additional Asset Directories to Cook. Click the + button and add the folder that contains your actor that is not firing its overlap event just to make sure it’s being cooked.

Thanks

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9f353473](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9f353473](https://forums.unrealengine.com/u/anonymous_user_9f353473)\
**Post date:** [February 21, 2017, 9:03pm UTC](https://forums.unrealengine.com/t/oncomponentbeginoverlap-function-not-firing/385688/3 "2017-02-21T21:03:17Z")

</div>

Hi Sean,

Thank you for getting back to me. I was actually in the process of getting all the information you requested and I found that I was creating a reference to my HUD blueprint twice which seemed to be overriding both HUD references. Once I removed that it fixed my problem and my game runs smoothly now. Thank you!
