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

使用CreateLuaTemplate按钮创建的lua文件不能正确绑定 #301

Closed
BlackdBlook opened this issue Dec 8, 2021 · 1 comment
Closed

Comments

@BlackdBlook
Copy link

版本:ue4.27.1 unlua2.1.0 使用示例项目添加一个LuaActor
使用按钮创建的lua文件并不能正确绑定,
CreateLuaTemplate生成的路径默认为蓝图所在路径,而不是GetModuleName返回的值,因此不能正确匹配
GetBindingStatus ”正确的“ 返回了 BoundButInvalid
将lua文件移动到GetModuleName指定的路径下可以正常绑定

GetModuleName的值:
image
实际生成的文件的路径:
image

@xuyanghuang-tencent
Copy link
Collaborator

旧版的UnLua设计时可能考虑从蓝图文件目录结构来对应到Lua,目前看来和预期使用方式不太符合,已修改

@xuyanghuang-tencent xuyanghuang-tencent added waiting for feedback This issue is waiting for user feedback pending release This will be released on next version and removed waiting for feedback This issue is waiting for user feedback labels Dec 13, 2021
@xuyanghuang-tencent xuyanghuang-tencent removed the pending release This will be released on next version label Nov 7, 2023
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