Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UE] question 自行启动虚拟机情况下,玩家数>1时mixin不准确 #1959

Open
Lee-Ft opened this issue Dec 31, 2024 · 1 comment
Open

Comments

@Lee-Ft
Copy link

Lee-Ft commented Dec 31, 2024

detail | 详细描述

UE:5.4
puerts版本:基于1.0.6,外加项目的自行修改

John你好,我们是采用的自行启动虚拟机形式,每个客户端享有单独的JSEnv。最近发现如果PIE启动的时候,玩家数目如果大于1,除了第一端的mixin蓝图正常执行以外,其他端的mixin蓝图都使用的第一端的实现。稍微查了一下,发现是在UJSGeneratedClass::Mixin里,对于后续拉起的客户端,由于MaybeJSFunction为true,导致并没有成功mixin上,并且也确实有形如“Try to mixin a function[%s:%s] already mixin by anthor vm”的Warning输出。这个在有些需要多端调试的场景下并不是很方便,想问下有什么解决方法吗?
image

@morirain
Copy link
Contributor

用独立进程模式试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants