Disabling collision of an actor after an overlap event will cause the event to fire twice
This is working properly in 4.10-2674146
Calling on "Set Actor EnableCollision" or "Set Enable Collision" causes OnComponentBeginOverlap to be called a second time causing pickups placed in the level to be picked up twice. This behaviour only occurs if you attempt to change the collision settings during the overlap event.
It appears to be easily reproducible and only occurs in 4.9, following the same steps in 4.8 will only trigger the overlap event once.
1. Open a 1st Person BP project
2. Create a new actor class bp & open it
3. Add a BoxCollision component
4. In the Event Graph, create the bp from screenshot #1
5. Compile & save
6. Place the bp into the level
8. Walk into the collision box
Results: The overlap event will trigger twice
Expected: For the overlap event to once trigger once before disabling collision
Head over to the existing Questions & Answers thread and let us know what's up.
|Component||UE - Gameplay|
|Created||Sep 3, 2015|
|Resolved||Sep 3, 2015|
|Updated||Apr 27, 2018|