UGameplayStatics::GetSurfaceType always return 0? Why?

Hello!

UGameplayStatics::GetSurfaceType always return 0 when i trace line to ground. Why?

The physical material is correctly connected to the landscape layer and returns correctly in the capsule event OnComponentHit (when turn on Return Material on Move).

How about adding YourCollisionParams.bReturnPhysicalMaterial = true;

This is the only way I know