Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

OnComponentBeginOverlap Function Not Firing

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!

Product Version: UE 4.13
more ▼

asked Feb 21 '17 at 05:06 PM in Packaging & Deployment

avatar image

21 1 2

avatar image Sean L ♦♦ STAFF Feb 21 '17 at 06:43 PM

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.


(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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!

more ▼

answered Feb 21 '17 at 09:03 PM

avatar image

21 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question