I used FStreamableManager::RequestAsyncLoad to dynamic load assets in paks.
But it failed and return warnings like that!;
[2017.07.17-13.30.42:665] 67]LogLinker:Warning: The file '../../../mankuH/Content/DOT.uasset' contains unrecognizable data, check that it is of the expected type.
[2017.07.17-13.30.42:665] 67]LogLinker:Warning: The file '../../../mankuH/Content/boxMesh.uasset' contains unrecognizable data, check that it is of the expected type.
[2017.07.17-13.30.42:665] 67]LogLinker:Warning: The file '../../../mankuH/Content/texture/hx3.uasset' contains unrecognizable data, check that it is of the expected type.
[2017.07.17-13.30.42:681] 68]AsyncLoadComplete()!!!!!
[2017.07.17-13.30.42:681] 68]obj is nullptr!!!Return!
the code is here :
FString objPath = "/Game/DOT.DOT";
FString objPath2 = "StaticMesh'/Game/boxMesh.boxMesh'";
res.arryObjPaths.Add(objPath);
res.arryObjPaths.Add(objPath2);
............
FStringAssetReference reference ( objsArry[0]);
FStringAssetReference reference2 (objsArry[1]);
resourcesOnLoad[ID_ON_LOAD]->ItemsToStream.AddUnique(reference);
resourcesOnLoad[ID_ON_LOAD]->ItemsToStream.AddUnique(reference2);
FStringAssetReference reference3 (TEXT("/Game/texture/hx3.hx3"));
resourcesOnLoad[ID_ON_LOAD]->ItemsToStream.AddUnique(reference);
resourcesOnLoad[ID_ON_LOAD]->ItemsToStream.AddUnique(reference2);
resourcesOnLoad[ID_ON_LOAD]->ItemsToStream.AddUnique(reference3);
//AsyncLoadComplete();
StreamableAssetLoader.RequestAsyncLoad(resourcesOnLoad[ID_ON_LOAD]->ItemsToStream, FStreamableDelegate::CreateUObject(this, &UResourcesController::AsyncLoadComplete));
I usede UObjectLibry but it seems not worked for paks ,So how to use this interface to dynamic load assets???