OnComponentBeginOverlap not called

Thank you for this quick answer : ) So, instead of using AttachToComponent, I used SetupAttachment to attach the weapon to the socket. I also made a blueprint class inherited from the c++ class, and I noticed that I am running with the OverlapAllDynamic collision preset. So now, I can enter the box but the editor crashes : /