Event OnActorEndOverlap does not fire

Hi, I want to report something I consider as a bug. If it isn`t, please correct me. When we have two actors, and one of them has a component which generated overlapping between those actors (other components does not overlap), and then we call DestroyComponent on this component, event OnActorEndOverlap is not fired.

Hi TomekB,

The OnActorEndOverlap works correctly on my end. How are you setting up the scenario? The OnActorEndOverlap will only trigger when something leaves it’s collision bounds.

OK, so I have an actor with only one component: BoxCollision, with default settings. I place it on map. In my character I have assigned events to OnActorBeginOverlap and OnActorEndOverlap. Then in game I walk into this box → event OnActorBeginOverlap in my character is triggered. Then, standing in box:

  • if I walk out of box, of course event OnActorEndOverlap is triggered
  • if I destroy whole actor, event OnActorEndOverlap also is triggered
  • if I destroy BoxCollision component in this actor (the only one), event OnActorEndOverlap is not triggered, though actor is no more overlapping with character

Thanks for the additional info. I was able to reproduce this and I’ve created JIRA UE-20617 in our tracking software. Our developers will be investigating the issue further and we will post back here with updates as we have them.

This setup doesn’t work but I believe the correct way to set this up (and what I put the bug report in for) would be to use an OnComponentEndOverlap when destroying the box component.

Cheers,

TJ