Stack overflow when converting textures to virtual textures

Hi everyone, I’m using UE5.4.4 and in my project there are many textures and materials/material instances. So the reference relationship could be complex. When I try to convert textures to virtual textures using engine provided tool, It could crash because of stack overflow. The call stack is repeating FDefaultMaterialInstance::GetParameterValue() which is in \Source\Runtime\Engine\Private\Material\Material.cpp line 437 - 465. Anyone has any clues about this? Many thanks.