Yea, it is very likely an issue with collision. Just change the collision to “NoCollision” when you attach the gun, and activate collision again once you want to drop it.
A better way of doing it might be to create your own collision response type to something called “weapon” which will than have collision disabled for the player pawn or capsule or whatever you need.