You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

请教如何在PowerShell中运行UE5 Pixel Streaming相关脚本与程序

Unreal Engine 5 Pixel Streaming相关命令的PowerShell运行方法

前提准备

打开PowerShell后,先切换到对应文件所在的父目录(比如你的项目根目录),避免路径错误。切换目录用cd 你的目录路径命令,例如cd C:\UE5Projects\MyPixelStreamingProject。

1. 运行setup.ps1脚本

直接在PowerShell里输入相对路径命令:

.\SignallingWebServer\platform_scripts\cmd\setup.ps1

如果遇到执行策略阻止脚本运行的报错,先执行以下命令(按提示输入Y确认):

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

之后再重新运行setup.ps1脚本即可。

2. 运行Start_SignallingServer.ps1脚本

用相对路径执行:

.\SignallingWebServer\platform_scripts\cmd\Start_SignallingServer.ps1

注意:这个脚本运行后会保持PowerShell窗口处于运行状态,不要关闭该窗口,否则信令服务器会停止工作。

3. 启动MyPixelStreamingApplication.exe

先切换到exe所在的目录(通常在项目的Binaries\Win64文件夹下):

cd .\Binaries\Win64

然后执行带参数的启动命令:

.\MyPixelStreamingApplication.exe -PixelStreamingIP=127.0.0.1 -PixelStreamingPort=8888

也可以直接用绝对路径一步到位,例如:

C:\UE5Projects\MyPixelStreamingProject\Binaries\Win64\MyPixelStreamingApplication.exe -PixelStreamingIP=127.0.0.1 -PixelStreamingPort=8888

内容的提问来源于stack exchange,提问作者4111

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.21 18:42:41