android - Unreal 中的受限文件夹名称

标签 android ios namespaces unreal-engine4

在 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/

相关文章:

安卓 : Can I use this intent from a 3rd party application?

android - 如何从 URI 中获取文件路径?

ios - 在我的应用程序中创建自定义后退按钮

ios - 带有 NSValue 的 Swift NSCoding

C# 读取具有多个变量命名空间的 XML

在 Android 中使用 ViewPager 时出现 java.lang.IllegalStateException

android - 如何创建我自己的 Preference 类

ios - 谷歌 FCM 服务器 : 200 but no notification sent to phone

c++ - 函数体中的命名空间前缀

c# - 命名空间冲突