How to list asset directories in a given directory?

For my plugin I’d like to list all folders in an asset directory in the editor. Listing assets from a given type is easy (see code example) but I cannot find any way to list directories.

UObjectLibrary *lib = UObjectLibrary::CreateLibrary(UMaterialInstance::StaticClass(), false, true);
UE_LOG(LogTemp, Warning, TEXT("Searching for material instances ..."));
TArray<FAssetData> assetData;

Can anybody give me a hint?

Did you ever figure this out?

i’m interested in this topic aswell any ideas about it? someone?

I’ve found this post might help you out :slight_smile: