-SaveToUserDir now goes to AppData ? Why?

Dear Friends at Epic,

In the Beta, adding

-SaveToUserDir

went to Username/Documents/ProjectName/Rocket etc

now it goes to

Username/AppData/Local/ProjectName

why is this?

Are we not supposed to use this flag any more?

How can I obtain the user’s Documents folder without using

-SaveToUserDir

?

If I use this flag

its very hard to access logs and .ini data :slight_smile:

It just seems like something about how I am supposed to access User’s Documents folder has changed

Thanks

Rama

That’s correct, the settings are now saved to FPlatformProcess::UserSettingsDir() when that flag is present.

If you want to get the user directory in code, you can use FPlatformProcess::UserDir().

1 Like

“FPlatformProcess::UserDir()”

Thanks for this Jamie!

#:heart:

Rama