When trying to compile the game on ue4.18 (from github).
I get an error: The following files are set to be staged, but contain restricted folders names:
LokaGame/Content/Interaction/Animations/Interaction/Switch/A_Switch_Off.uasset
LokaGame/Content/Interaction/Props/Switch/Animations/A_IO_Switch_Off.uasset
If these files are intended to be distributed in packaged builds, move the source files out of a restricted folder, or remap them during staging using the following syntax in DefaultGame.ini:
[Staging]
+RemapDirectories=(From=“Foo/NoRedist”, To=“Foo”)
I could not find an example of a solution to the problem.