[Bug] [Pull Request] GetOverlappingComponents returns incorrect result

If I call GetOverlappingComponents node from OnComponentEndOverlap event callback it returns cached outdated array of components. But If I call GetOverlappingComponents by other event or action right after end overlap event it returns correct array. It seems like this event is triggered before the update of overlapping components.

Repro steps:

  1. Create new BP Rolling project;
  2. Create new Blueprint class and add in this BP root Scene two boxes with CollisionPresets property set as OverlapAll (1st screenshot);
  3. Add this new BP on Level scene in front of the ball;
  4. Open PhysicsBallBP and in EventGraph assign OnComponentEndOverlap event;
  5. Call GetOverlappingComponents in this event callback (2nd screenshot);
  6. Notice: it returns wrong value.

[Project archive][1]

It’s reproduced in any projects. BP Rolling project is most convenient for bug demonstration.

http://dl2.joxi.net/drive/0004/1339/312635/150409/9a145fc667.jpg

http://dl2.joxi.net/drive/0004/1339/312635/150409/f7f08e6c46.jpg

http://dl2.joxi.net/drive/0004/1339/312635/150409/4030e3d8c0.jpg

Please checkout my pull request with fix – https://github.com/EpicGames/UnrealEngine/pull/1044

In case if anyone interested this bug already fixed in master branch.