-
Notifications
You must be signed in to change notification settings - Fork 679
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] Bug: UE5安卓打包中出现libnode.so缺失及SSL库的问题 #1751
Comments
去掉你配置的ssl,然后下载这个版本的nodejs库解压覆盖到Plugins/Puerts/ThirdParty下对应目录:https://github.com/puerts/backend-nodejs/releases/download/NodeJS_16.16.0_240604/nodejs_bin_16.16.0.tgz 试试问题解决了没 |
打包是没问题了,但是加载js脚本时出问题了,尝试加载crypto的JavaScript模块时失败 |
符合预期。crypto是ssl相关模块。禁用ssl这也去掉了。 |
那我暂时先用着带ssl的版本吧,目前用着没问题,后续空闲了再编看看 |
看了下UE5.1应该用的是 1.1.1n ,NodeJS 16.16.0用的 1.1.1q吧,差异挺小的 |
5.2 5.3 是1.1.1q,估计这两个版本用着不带ssl是没问题的,不过我没试过 |
我说的带不带ssl是node的编译选项,选了without-ssl后,宿主有没ssl,node都不会有ssl相关功能。without-ssl版本node在我试过的所有ue版本都能用。 如果5.1区别不大倒可以试试用with-ssl的nodejs,JsEnv.build.cs不配置库nodejs的libssl,改为引用UE的ssl模块。 |
前置阅读 | Pre-reading
Puer的版本 | Puer Version
Unreal_v1.0.6p1
UE的版本 | UE Version
5.1
发生在哪个平台 | Platform
Android
错误信息 | Error Message
No response
问题重现 | Bug reproduce
UE5安卓打包时,遇到了以下问题:
根据与Puerts插件开发者的讨论,nodejs构建脚本有问题,都编译带ssl的了。等待后续更新node库
The text was updated successfully, but these errors were encountered: