Why is Surface Type returning NULL?

The only things I can think of are:

  • Maybe the surface is not set with that surface type.
  • The raycast is not hitting the surface that you want, you could debugdrawline that raycast to see it on the viewport.