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

UE5蓝图使用Luajit,在Load的时候会直接崩溃,你们有碰到类似的问题吗? #156

Open
coollofty opened this issue Dec 16, 2022 · 1 comment

Comments

@coollofty
Copy link

'UnrealEditor.exe' (Win32): Loaded 'D:\Unreal\LocalBuilds\Engine\Windows\Engine\Binaries\Win64\socket\core.dll'.
The thread 0x311c has exited with code 0 (0x0).
'UnrealEditor.exe' (Win32): Unloaded 'D:\Unreal\LocalBuilds\Engine\Windows\Engine\Binaries\Win64\socket\core.dll'
'UnrealEditor.exe' (Win32): Loaded 'D:\Unreal\LocalBuilds\Engine\Windows\Engine\Binaries\Win64\socket\core.dll'.
Exception thrown at 0x00000129403FE3A1 (core.dll) in UnrealEditor.exe: 0xC0000005: Access violation reading location 0x0000000000000008.

这个core.dll已经使用了64位版本了,这个不会错,LuaJIT是封装的蓝图C++函数直接创建的,因为我只是Lua当成了一个胶水语言在蓝图里写一点纯逻辑用。想使用Panda进行调试结果卡在这里死活过不去了

@stuartwang
Copy link
Collaborator

看起来还是luasocket库加载时失败了。可以考虑在你的项目中去除luaPanda相关文件,而在lua代码中直接调用 require("socket.core") 看是否报错来验证这一点

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