In our deployment UnrealEngine is deployed to /opt/UnrealEngine-Release. Users do not have write permissions for that directory, since we have shared workstations. So we are using the -SaveToUserDir flag when launching. However, when that flag is used UnrealEngine fails to autosave with this error:
“The filename ‘/home/HOME_FOLDER/.config/Epic/MyProject5/Saved/Autosaves/Game/VProdProject/Maps/Main_Auto1.umap’ is not within the game or engine content folders found in ‘/opt/UnrealEngine-release/’”
We have also tried using the -UserDir= flag (in place of the -SaveToUserDir) and pointing to another directory with no spaces or “.” in the path (aside from the file extensions) that a user would have write access to, however the same error occurs.
Manually saving works as expected.
We are using UnrealEngine 4.26.1 on CentOS 7.
Any help in getting autosave to work would be greatly appreciated.
Steps to reproduce:
- Launch UnrealEngine with the -SaveToUserDir flag
- Choose Film, Television, and Live Events
- Choose Virtual Production
- Enable Raytracing
- Create Project in “/home/HOME_FOLDER/Documents/Unreal Projects”
- Once the project loads, save it once manually
- Make some changes to the scene so that it’s evaluated as dirty
- Wait for the Autosave to start
- An error message will show up with the error message above