We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
测试环境 Windows 10 21H1 UE4.26.2 Unlua 2.1.1
复现步骤: 1,新建蓝图继承自GameInstance
2, 添加GameInstance的lua测试代码:
3, 清空World Settings中的GameMode选项,并在Project Settings中设置新建的GameInstance
4, 运行游戏,会发现Initialize(Initializer)执行了两次
Initialize(Initializer)
The text was updated successfully, but these errors were encountered:
修正:PIE下GameInstance的Initialize会被调用两次的问题 #326
03a21df
的确在编辑器下会有这个问题,其实就是PIE的时候重复绑定了GameInstance,但不影响真机。
Sorry, something went wrong.
发现打包成windows exe执行时 GameMode 要比GameInstance 先加载为啥呢
No branches or pull requests
测试环境
Windows 10 21H1
UE4.26.2
Unlua 2.1.1
复现步骤:
1,新建蓝图继承自GameInstance
2, 添加GameInstance的lua测试代码:
3, 清空World Settings中的GameMode选项,并在Project Settings中设置新建的GameInstance
4, 运行游戏,会发现
Initialize(Initializer)
执行了两次The text was updated successfully, but these errors were encountered: