So I have a actor that is spawned at runtime with a collision component. My problem that the OnComponentBeginOverlap function that I set in C++ in BeginPlay is never called while whenever i add a blueprint event handler then that BP function is called.
The function signatures match and it has a UFUNCTION() macro.
Sorry could use some more details. Can you show some source?
Are you attaching the component in BeginPlay, OnConstruction or in the C++ constructor? Is the component instance persistent from BeginPlay or does it spawn during game-play?
If your spawning the component from an anim notify during runtime you need to bind the begin overlap then. BeginPlay on the parent actor is only called when the parent actor begins play and the begin overlap binding needs to happen on the particular instance of the component that you intent to check is overlapping.