[4.9] Disabling Collision with "Set Actor Enable Collision"/"Set Enable Collision" during OnComponentBeginOverlap Event causes overlap to trigger second time

I was following the UMG Drag and Drop training video (using 4.9) and 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.

Reproduction:

  1. Create First Person Project
  2. Create new Blueprint of Actor type
  3. Add Scene Component and make it the root component
  4. Add Static Mesh and assign a model
  5. Add Sphere Collision Component
  6. Right click Sphere Collision Component and choose Add Event->OnComponentBeginOverlap
  7. From the added OnComponentBeginOverlap event cast Other Actor to FirstPersonCharacter
  8. Disable collision using Set Actor Enable Collision or Set Collision Enabled
  9. Add a print string as debug message
  10. Place blueprint in level and walk in to it

Pic of the overlap event:

Result 4.9:

Result 4.8:

Hi MrBushido,

Thank you for the report. I was easily able to reproduce this in 4.9 and I’ve created JIRA UE-20733. Our developers will be investigating this further and we will post here with updates as we have them.

Cheers,

TJ

I’ve checked in a fix (CL 2679617, on 9/3/2015). Hopefully this will make a release soon. Thanks for the report!