I am reading .csv table that has string like this
StaticMesh'"/Game/Modern_Cozy_Suites/Meshes/Living/SM_LDeco_002.SM_LDeco_002"
trying ot set it with FindObject
UStaticMesh* StaticMeshPtr = FindObject<UStaticMesh>(ANY_PACKAGE, *stringArray[1].Mid(1,stringArray[1].Len()-2),true);
and set StaticMeshPtr to
row.Model = StaticMeshPtr;
mydatatable->AddRow(FName(*stringArray[0]), row);
As output i want to have DataTable with all recognized meshes
but is seems like FindObject function dont work this way. Maybe someone knows how to set object by project path?
Thanks in advance