ComponentBeginOverlap called twice in UE4.9
I have a simple inventory system using the Overlap event in C++. Walking over an item gives a copy to the player, and the original item disables its collision and goes to sleep. This worked as expected in 4.8
After upgrading the 4.9, the Overlap event was getting fired twice upon walking over the item. The stack trace, all parameters (`OtherActor`,
I added a simple fix by checking to see if collision is enabled, and aborting the event execution if not. This does solve the problem, but it's odd that the event is triggered twice all of a sudden.
Was this a deliberate change in behavior, or indeed a bug in the new release?
I was able to confirm that setting collision to No Collision inside an overlap event cases the overlap to trigger twice. I have entered a bug report (UE-20848) to investigate this behavior.
answered Sep 08 '15 at 04:22 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here