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的服务器
免积分下载

相关推荐
1204157137 肖哥10 小时前
UE5.7 Procedural Vegetation分析
ue5
半天法师12 小时前
Bug 记录:UE 结构体转 JSON 时 Key 字段大小写异常 (Editor 与打包后表现不一致)
ai·ue5·json·bug
邪修king14 小时前
UE5 零基础入门第四弹:UMG UI 系统入门,从静态界面到逻辑联动
c++·ui·ue5
HAPPY酷2 天前
UE5 开发工具链配置清单
ue5
晴夏。2 天前
UE5第三人称模板实现及相关引擎源码分析
unity·ue5·游戏引擎·ue
HAPPY酷3 天前
UE5 C++ 避坑指南:暴力移除 Electronic Nodes 插件,回归纯净开发
开发语言·c++·ue5
晴夏。3 天前
UE原生第三人称相机源码分析
游戏·ue5·ue4·相机·ue·3c
郑寿昌4 天前
UE5中FBX材质丢失终极修复指南
ue5·材质
郑寿昌5 天前
AI生成的FBX格式导入UE5模型的兼容性优化指南
ue5
2601_957190906 天前
超元力悬浮玻璃剧场:当光影踏空而来,重构沉浸式文旅新体验
ue5·旅游