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

相关推荐
一锅炖出任易仙4 小时前
创梦汤锅学习日记day30
学习·ai·ue5·游戏引擎
OSwich5 小时前
【UE5学习笔记】UMG中控件命名规范
笔记·学习·ue5
一锅炖出任易仙1 天前
创梦汤锅学习日记day29
学习·ai·ue5·游戏引擎
吴梓穆1 天前
UE5 C++ 注册 开始重叠和结束重叠事件
开发语言·c++·ue5
妙为2 天前
unreal engine5(UE5)中使用Rider
ue5·游戏引擎·虚幻·rider
归真仙人4 天前
【UE】LineTraceByProfile
ue5·游戏引擎·ue4·unreal engine
-FxYaM-5 天前
【UE】渲染框架学习路径-初次修改源码
服务器·网络·c++·windows·ue5·unreal engine
一锅炖出任易仙7 天前
创梦汤锅学习日记day23
学习·ai·ue5
妙为9 天前
unreal engine5.7.4,创建ThirdPerson第三人称模版,类型是c++崩溃
c++·ue5·虚幻·unreal engine5
weixin_4046793112 天前
虚幻5电子书
ue5