Tencent / sluaunreal

lua dev plugin for unreal engine 4 or 5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

当在同一进程开启多个游戏时(即设置Number of Player >=2),为什么lua代码只执行一次?

yfcyt opened this issue · comments

情景:
多人联网游戏,在开发过程中,需要在同一进程中开启多ViewPort来调试,即设置Num of Players >= 2
aaaa

但是发现UI上(用的ULuaUserwidget)挂的lua脚本只会执行一次

如何让lua执行在每个ViewPort都执行?

具体是什么版本?有具体的代码和运行log么?

具体是什么版本?有具体的代码和运行log么?

sluaunreal-2.1.2

具体的代码已经删了,现在通过开启多个进程来测试了