On Begin Cursor Over doesn't work with box collision in variable

Hi!

When I use the “On Begin Cursor Over” event directly on the Box Collision Component of an object, everything works… but when I use the same event on a variable in which the Box Collision component is stored, nothing happens.

Do you know what could be the problem?

Thanks!

I’ve had a similar issue when using OnBeginCursorOver in c++ and I solved it by changing the CollisionPreset of the BoxCollision to BlockAllDynamic . (by default it seems to be set to OverlapAllDynamic)

PS: Setting only Visiblity trace response to Block also seems to fix the issue. Seems that in the internal code the OnBeginCursorOver does a single LineTrace on the ECC_Visiblity channel

I dont get why using OnBeginCursorOver with OverlapAllDynamic works if i bind the event directly in blueprint but doesn’t work if i do it from c++. Hopefully this info is helpful.