Why is Surface Type returning NULL?

I figured out why it wasn’t working! The only problem now is that I don’t know how to fix it. What was happening was that it was returning the default surface type because it wasn’t colliding with the mesh but with the capsule component. Anyone know how to fix this?