在 Unreal 4.23 中,我在创建我的项目的 Android 版本时遇到了这个错误:
UATHelper: Packaging (Android (ASTC)): ERROR: The following files are set to be staged, but contain restricted folder names ("IOS"):
还有:
UATHelper: Packaging (Android (ASTC)): ERROR: The following files are set to be staged, but contain restricted folder names ("Apple"):
是否有明显需要避免的受限词和文件夹名称列表。喜欢 iOS 还是 IOS?反对派的维萨维拉?
是时候来点创意排斥了,有人吗?
最佳答案
Unreal 4.25 进一步阐明了其内部限制和可能的解决方案。
我们的项目中有一个/Windows 目录,UE 在 Xbox 上提示它。因为我不想将它重命名为“HolesInTheWalls”或其他名称,所以我使用了白名单选项,瞧,它工作正常。
这是 UE 在 cook 期间打印的内容:
[Restrictions] Win32 Win64 HoloLens Mac XboxOne PS4 IOS Android HTML5 Linux LinuxAArch64 AllDesktop TVOS Switch Lumin PS5 WinGDK XboxOneGDK Windows Apple Unix Sony Desktop EpicInternal CarefullyRedist NotForLicensees NoRedist 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") Alternatively, whitelist them using this syntax in DefaultGame.ini: [Staging] +WhitelistDirectories=MyGame/Content/Foo
关于android - Unreal 中的受限文件夹名称,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59733279/