Getting full path of project directory

Hi, guys ! I Wonder if its possible to get the absolute path of my project ? For example :

C:\UnrealProjects\NeUni\Content\Assets\Meshes

i was trying to use FPath, FFileManagerGeneric, PlatformFile but no luck - only relative paths :frowning:

2 Likes

This may help you, try ConvertToAbsolutePathForExternalAppForRead function.

FString RelativePath = FPaths::GameContentDir();

FString FullPath = IFileManager::Get().ConvertToAbsolutePathForExternalAppForRead(*RelativePath);
7 Likes

@Katod , thank you so much! It helped a lot :pray: