Description

Destroying a Component doesn't trigger the OnComponentEndOverlap node

User Description:

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

Steps to Reproduce

1. Open the attached project
2. PIE
3. Walk forward into the box
4. Press the E-key to destroy the Actor (note that the ActorEndOverlap node is triggered)
5. Stop and PIE again
6. Walk forward into the box
7. Press the R-key to destroy the BoxComponent

Results: The OnComponentEndOverlap event will not be triggered when the BoxComponent is destroyed

Expected: For the OnComponentEndOverlap to trigger on Component destroy just like the ActorEndOverlap triggers on Actor destroy

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Gameplay
Affects Versions4.8.34.94.10
Target Fix4.11
Fix Commit2803823
Main Commit2818924
Release Commit2803823
CreatedSep 1, 2015
ResolvedDec 15, 2015
UpdatedApr 27, 2018
View Jira Issue