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

相关推荐
AA陈超8 小时前
ASC学习笔记0020:用于定义角色或Actor的默认属性值
c++·笔记·学习·ue5·虚幻引擎
平行云8 小时前
World Labs & Paraverse:统一3D世界的创造与访问
3d·unity·ai·ue5·aigc·实时云渲染·云xr
AA陈超16 小时前
使用UnrealEngine引擎,实现鼠标点击移动
c++·笔记·学习·ue5·虚幻引擎
AA陈超18 小时前
Lyra源码分析:LyraCharacterMovementComponent
c++·笔记·学习·ue5·虚幻引擎·lyra
电子云与长程纠缠1 天前
UE5打光技巧02(新手向)
ue5
AA陈超1 天前
UE5笔记:GetWorld()->SpawnActorDeferred()
c++·笔记·学习·ue5·虚幻引擎
AA陈超1 天前
ASC学习笔记0025:移除所有属性集
c++·笔记·学习·ue5·虚幻引擎
AA陈超3 天前
ASC学习笔记0007:用于与GameplayAbilities系统交互的核心ActorComponent
c++·笔记·学习·ue5·虚幻引擎
AA陈超3 天前
UE5笔记:OnComponentBeginOverlap
c++·笔记·学习·ue5·虚幻引擎
AA陈超3 天前
ASC学习笔记0014:手动添加一个新的属性集
c++·笔记·学习·ue5