How to get paths to game root folder and user documents?

I think question is self explanatory

FPaths provides access to a variety of directories, with FPaths::GameDir() being the game root (FPaths::GameContentDir for the game content).

FPlatformProcess provides access to OS directories, however we don’t seem to have something that will guarantee the “Documents” folder. We do have FPaths::UserDir(), which is the root of the user folder, or FPlatformProcess::UserSettingsDir() which is the platform specific place to store user-specific settings.

Oh, thanks, this is more than enough!

I think you meant FPlatformProcess::UserDir() rather than FPaths::UserDir() (which doesn’t exist).