之前反馈Android的粒子必现的闪退问题:
官方也建了一个issue:
我一直关注这个issue, 看到官方已经提交了修复:
V3.6.2 fix particle crash by zxx43 · Pull Request #12913 · cocos/cocos-engine (github.com)
我合并了代码测试了一下,确实原来的demo不闪退了,但是合并到原有项目中跑一段时间就会闪退。这次就很恐怖了,因为不确定出现的时机,无法提供必现Demo。但是能提供具体闪退的代码行号:
#00 pc 000000000146391c operator= (/buildbot/src/android/ndk-release-r22/toolchain/llvm-project/libcxx/include/string:0) [arm64-v8a] #01 pc 00000000006011b4 nativevalue_to_se (C:/wegame/client/AGame/engine/native/cocos/bindings/manual/jsb_conversions_spec.cpp:1475) [arm64-v8a] #02 pc 00000000008da434 js_assets_Mesh_readAttributeFormatRegistry (C:/wegame/client/AGame/engine/native/cocos/bindings/auto/jsb_assets_auto.cpp:19889) [arm64-v8a] #03 pc 0000000000b175bc v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) + 544 [arm64-v8a] #04 pc 0000000000b16c04 v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) + 652 [arm64-v8a] #05 pc 0000000000b16394 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) + 248 [arm64-v8a] #06 pc 00000000013560e8 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit + 104 [arm64-v8a]
麻烦官方尽快看一下,尽快修复,等着救命