Why am I loading two assets from a folder that only one blueprint?

You can see the TArray contains two blueprints when the folder itself only contains one. I’m not sure what I’m doing wrong.

307879-untitled2.png

The full function:

void AWorldGeneration::CreateTiles(int ChunkIndex)
{
	if (!ObjectLibrary)
	{
		ObjectLibrary = UObjectLibrary::CreateLibrary(ATile::StaticClass(), true, GIsEditor);
		ObjectLibrary->AddToRoot();
	}
	int AssetNum = ObjectLibrary->LoadBlueprintsFromPath("/Game/Tiles");
	TArray<UBlueprintGeneratedClass *> Tiles;
	ObjectLibrary->GetObjects<UBlueprintGeneratedClass>(Tiles);
}

Quick guess:

  1. wrap path string into TEXT macro
  2. Try to reproduce on a different folder