(string c++) "%d, %s, %UObject" ?

I’ve found a solution, i just used this code from rama’s plugin, to pass through the path as a string and load the object within the blueprint.


 UObject* UVictoryBPFunctionLibrary::LoadObjectFromAssetPath(TSubclassOf<UObject> ObjectClass,FName Path,bool& IsValid)
 {
     IsValid = false;
     
     if(Path == NAME_None) return NULL;
     //~~~~~~~~~~~~~~~~~~~~~
     
     UObject* LoadedObj = StaticLoadObject( ObjectClass, NULL,*Path.ToString());
      
     IsValid = LoadedObj != nullptr;
     
     return LoadedObj;
 }