UE5.5 pixelstreaming插件打包报错

文章目录

错误内容如下

bash 复制代码
The following files are set to be staged, but contain restricted folder names ("Linux"):
CTZ5_5/Samples/PixelStreaming/WebServers/Extras/FrontendTests/dockerfiles/linux/Dockerfile
CTZ5_5/Samples/PixelStreaming/WebServers/Extras/MinimalStreamTester/dockerfiles/linux/Dockerfile
[Restrictions]
Mac
IOS
Android
Linux
LinuxArm64
TVOS
VisionOS
Apple
Unix
SDLPlatform
30Hz
PosixOS
EpicInternal
CarefullyRedist
LimitedAccess
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, allow list them using this syntax in DefaultGame.ini:
[Staging]
+AllowedDirectories=MyGame/Content/Foo
(see C:\Users\DH009\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+++UEInstallation+UE_5.5\Log.txt for full exception trace)

原因是pixelstreaming查价自动创建的这个目录里,有Linux关键字,下边还列出了所有的关键字以及解决方案

解决方案

找到配置文件

在后边添加

csharp 复制代码
[Staging]
+RemapDirectories=(From="CTZ5_5/Samples/PixelStreaming/WebServers/Extras/FrontendTests/dockerfiles/linux", To="CTZ5_5/Samples/PixelStreaming/WebServers/Extras/FrontendTests/dockerfiles/linux_1")
+RemapDirectories=(From="CTZ5_5/Samples/PixelStreaming/WebServers/Extras/MinimalStreamTester/dockerfiles/linux", To="CTZ5_5/Samples/PixelStreaming/WebServers/Extras/MinimalStreamTester/dockerfiles/linux_1")
+RemapDirectories=(From="CTZ5_5/Samples/PixelStreaming/WebServers/Extras/StreamerDocker/Linux", To="CTZ5_5/Samples/PixelStreaming/WebServers/Extras/StreamerDocker/Linux_1")

把目录里的linux换成别的名字即可,所有报错的目录都要替换

注意如果直接从ue复制路径,最前边会有一个空格,要去掉

推流服务器不能使用

ue5.5的推流服务器不好使,建议用5.4的服务器
免积分下载

相关推荐
weixin_404679311 天前
虚幻5 如何打开关卡蓝图
ue5
dong1326973 天前
UE5FPS游戏开发教程(一)
ue5
朗迹 - 张伟4 天前
UE5.8 用Trae的AI开发功能
ue5
日月云棠6 天前
UE5 Lyra Teams模块深度分析:从队伍创建到伤害判定的完整链路
ue5
日月云棠9 天前
UE5 Lyra Inventory 物品系统模块深度分析——从数据定义到网络同步的完整链路
ue5
日月云棠10 天前
UE5 Lyra Weapons 模块深度分析——从装备实例到弹道散布的完整武器系统
ue5
清泓y10 天前
UE5程序化生成技术
ue5
清泓y11 天前
UE5--VR与AR开发技术
ue5·ar·vr
日月云棠11 天前
UE5 Lyra Messages 模块深度解析——从一条击杀消息看游戏事件系统的设计哲学
游戏·ue5
日月云棠12 天前
UE5 Lyra Input 模块:从手柄摇杆到技能释放,一条链路如何做到零耦合
ue5