G’day,
I want to get a list of objects, preferably with out loading them first. Previous posts on the subject, such as Iterate all Blueprints derived from a class, didn’t provide me with an answer.
EngineUtils::FindOrLoadAssetsByPath works, but it loads everything, since you cannot specify a filter.
Trying to avoid that, as there would be no need to load particular assets on a dedicated server etc.
FPackageName::FindPackagesInDirectory looks promising.
I could get a list first, then pick my way through it using magic.
This leads me to the ‘works when game is packaged’ part of the question.
In UE3, all our code to do with loading items as required worked fine, until we packaged the game.
Needless to say, I don’t want to get deep into using a method only to encounter the same issue.
So… what is the best way to get a list of objects that will play nice when the game is packaged?
Or does something already exist that I have I missed completely?
I am yet to package a game, let alone test the above methods.
Input, suggestions or outright answers welcome!
Thank you.
Kris