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

2.1.4 版本在UE5中LuaObject.cpp2824行的pushGCObject存在问题 #632

Open
IriskaDev opened this issue Feb 28, 2025 · 2 comments
Open

Comments

@IriskaDev
Copy link

此处代码中带了一个lambda,lambda我看似乎是试图建立一个缓存以加速某些调用,但该处代码对__index的修改导致了同个文件中的instanceIndex函数无法正常通过 LuaObject::checkValue<UObject*> 获取到栈上的UObject,而导致instanceIndex函数工作不正常

@IriskaDev
Copy link
Author

我这边测试,在这个lambda中什么都不做,instanceIndex函数工作就正常了

@zjhongxian
Copy link
Collaborator

lua库是自己编译的还是官方的?

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