CurrentFloor physMaterial returns null

Im in UE5, setting up a material footstep system with FMOD. The same code as in UE4 worked perfectly, got everything into UE5 from scratch and now getting “Exception thrown: read access violation. FloorMaterial was nullptr.” The line of code that handles this is

UPhysicalMaterial* FloorMaterial = Cast<UCharacterMovementComponent>(GetMovementComponent())->CurrentFloor.HitResult.PhysMaterial.Get();

Ive gone through the CharacterMovementCompenet.cpp and nothing was out of the norm, the only bReturnPhysMataerial for the repulse method. Went ahead and ticked that to true just to be safe nothing changes.