Compiler Linker Error: UMaterialInterface::GetWidth() and Height()

I get a linker error when trying to access the width and height of a material:
error LNK2019: unresolved external symbol "public: int __cdecl UMaterialInterface::GetWidth(void)const " (?GetWidth@UMaterialInterface@@QEBAHXZ)

This was already reported for older Version (2016 and 2014)

Is there any update on this error for UE5? Or does anyone know a workaround?