4.25 Replacement for GameDir

When upgrading my project to 4.25 (program works fine in 4.25), I found that it would not build, after some experimenting, I found that the problem was that the new version of the engine deprecated gamedir in Fpaths. What should I replace it with so it won’t break the rest of the program. I have included the line below just for refrence/

FString DirPath = FPaths::ConvertRelativePathToFull(FPaths::GameDir()) + “BuffetResults”;

Hi, you must’ve figured it out by now :stuck_out_tongue:
Just in case anyone else gets here, I think you can use FPaths::ProjectDir() function in 4.25 :slight_smile:
Regards!

4 Likes