Web Remote Control依赖的nodejs版本

nodejs requirements
UE4.27

UE4.27.2 RemoteControl的坑

升级到4.27.2后,需要在swtichboard的nDisplaySettings的Extra Cmd Line Args字段添加-RCWebControlEnable -RCWebInterfaceEnable这两个参数。这样WebRemoteControl才能正常工作。
要在打包后的程序中使用RemoteControlWebInterface,还需要在目标机上运行程序的同时,执行WebApp。也可以把RemoteControlWebInterface插件下的WebApp目录拷贝到打包程序目录下。再写一个Run.bat脚本放在打包程序目录下,用来一次性启动这两个程序:
 start My.exe -RCWebControlEnable -RCWebInterfaceEnable
 cd .\WebApp
 call .\Start.bat

No preset available

 fetch(new Request('http://127.0.0.1:30010/remote/preset/NewRemoteControlPreset',{
     method:'GET', 
     headers: {'Content-Type': 'application/x-www-form-urlencoded'}
 }))

Web端提示【No preset available】的错误时,除了要如图所示使用VaRest插件发起特定URL连接外,还有一点必须注意:RemoteControlPreset资产必须放在Content目录下,不能放在子目录。 可以放在Plugin的Content下。