I also made a question at Raycasting doesn't return anything. - UE4 AnswerHub
I think it has something to do with the actor that I am trying to raycast. Maybe I need to enable raycasting on the actor somehow? The only thing that I did was that I have set the collision to blocking all for the static mesh.