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

相关推荐
曼巴UE51 天前
Unlua 官方案例
c++·ue5·lua·ue
zhangzhangkeji1 天前
(29)UGameInstance 、UGameInstanceSubsystem 与 UGameState 的区别,一言
ue5
电子云与长程纠缠6 天前
UE5 两种方式实现蓝图编辑器下Tick
ue5
netcy7 天前
UE5 小部件 组合框(键)ComboBox (Key)
ue5
二DUAN帝8 天前
态势仿真推演系统 AFSIM+UE 架构选型
qt·ue5·afsim
maplewen.9 天前
【UE】GAS Gameplay Ability
ue5
帅_shuai_9 天前
UE5.6 Slate独立程序——初始化空白Slate环境
ue5
吴梓穆9 天前
UE5 c++ 模板函数
java·c++·ue5
吴梓穆9 天前
UE5 c++ 暴露变量和方法给蓝图
java·c++·ue5
混迹中的咸鱼9 天前
UE5 网络联机常用命令
网络·ue5