2.4.8 原生龙骨获取插槽包围盒顶点时闪退

let factory = this.node.getChildByName('nodename').getComponent(dragonBones.ArmatureDisplay);
let slot = factory.armature().getSlot(slotName);
slot.updateTransformAndMatrix();
let boxData = slot.boundingBoxData.vertices;

以上代码:
web 运行正常,顶点数据和包围盒数据也都正确。
模拟器,原生 闪退


引擎控制台报错

Simulator: E/jswrapper (245): [ERROR] Failed to invoke JSB_localStorageGetItem, location: c:\users\nantas\fireball-x\cocos2d-x-lite_245\cocos\scripting\js-bindings\manual\jsb_cocos2dx_manual.cpp:245
at HTMLElement.print-simulator-log (D:\CocosDashboard_1.0.6\resources.editors\Creator\2.4.7\resources\app.asar\editor\builtin\scene\panel\messages\scene.ccc:1:1451)
at Object._dispatch (D:\CocosDashboard_1.0.6\resources.editors\Creator\2.4.7\resources\app.asar\editor-framework\lib\renderer\panel.ccc:1:1750)
at EventEmitter. (D:\CocosDashboard_1.0.6\resources.editors\Creator\2.4.7\resources\app.asar\editor-framework\lib\renderer\ipc.ccc:1:2816)
at EventEmitter.emit (events.js:315:20)
at Object.onMessage (electron/js2c/renderer_init.js:93:1117)
Simulator: AL lib: (EE) alc_cleanup: 1 device not closed
at HTMLElement.print-simulator-log (D:\CocosDashboard_1.0.6\resources.editors\Creator\2.4.7\resources\app.asar\editor\builtin\scene\panel\messages\scene.ccc:1:1451)
at Object._dispatch (D:\CocosDashboard_1.0.6\resources.editors\Creator\2.4.7\resources\app.asar\editor-framework\lib\renderer\panel.ccc:1:1750)
at EventEmitter. (D:\CocosDashboard_1.0.6\resources.editors\Creator\2.4.7\resources\app.asar\editor-framework\lib\renderer\ipc.ccc:1:2816)
at EventEmitter.emit (events.js:315:20)
at Object.onMessage (electron/js2c/renderer_init.js:93:1117)


闪退截图

企业微信截图_20220216173750


操作 gif