-
Notifications
You must be signed in to change notification settings - Fork 718
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: #1874
Comments
v8 version? |
V10_6_194 |
puerts 1.0.5 use 8.4.371.19, 9.4.146.24 |
应该和这个是同一个问题:#1936 |
Try download this version of v8: https://github.com/puerts/backend-v8/releases/tag/V8_11.8.172_with_new_wrap_241205. Extract it to ThirdParty, then change JsEnv.Build.cs to using V11_8_172. Similar problems have been solved in #1936 |
这个现象,直接原因是iOS的new/delete运算符重载,在第一次app启动的时候生效,在第二次启动的时候不生效。 目前怀疑是不同版本的dyld,在处理App首次启动和二次启动的时候,流程差异导致的 可以让UE用Binned1或者Ansi的内存分配器,来绕过这个问题。当然,也可以去掉项目中所有使用的std::string这类容器,应该也不会有这个问题。 |
前置阅读 | Pre-reading
Puer的版本 | Puer Version
1.0.5
UE的版本 | UE Version
5.4.4
发生在哪个平台 | Platform
iOS
错误信息 | Error Message
v8::V8::SetFlagsFromString:
crashes on iOS, but works fine on Mac/Editor问题重现 | Bug reproduce
The text was updated successfully, but these errors were encountered: