使用XR-FRAME中的Marker模式进行图像识别,体验版调试一切正常,发布之后报错。基础版本库:2.32.3
[xr-frame] <Error: AR system start error(Marker,2,Back,false): from VisionKit, errorcode is 2003002>
@https://lib/WAXRFrameRenderContext.js:1:1278441
@https://lib/WAXRFrameRenderContext.js:1:1279343
fail@https://lib/WAServiceMainContext.js:1:1382689
p@https://lib/WAServiceMainContext.js:1:159942
wu@https://lib/WAServiceMainContext.js:1:432366
Iu@https://lib/WAServiceMainContext.js:1:433098
@https://lib/WAServiceMainContext.js:1:433297
s@https://lib/WAServiceMainContext.js:1:121179
callAndRemove@https://lib/WAServiceMainContext.js:1:116727
invokeCallbackHandler@https://lib/WAServiceMainContext.js:1:120226
代码结构示意:
<xr-scene ar-system="modes:Marker" id="xr-scene" bind:ready="handleReady" bind:ar-ready="handleARReady" bind:tick="handleTick">
<xr-node>
<xr-camera id="camera" node-id="camera" position="0.8 2.2 -5" clear-color="0.925 0.925 0.925 1" background="ar" is-ar-camera></xr-camera>
</xr-node>
</xr-scene>
遇到同样的问题,开发、体验版本OK,提交线上报错 AR system start error?
[xr-frame] @https://lib/WAXRFrameRenderContext.js:1:1303265 @https://lib/WAXRFrameRenderContext.js:1:1304085 fail@https://lib/WAServiceMainContext.js:1:1763185 p@https://lib/WAServiceMainContext.js:1:162322 Ru@https://lib/WAServiceMainContext.js:1:631543 Nu@https://lib/WAServiceMainContext.js:1:632275 @https://lib/WAServiceMainContext.js:1:632474 s@https://lib/WAServiceMainContext.js:1:123103 callAndRemove@https://lib/WAServiceMainContext.js:1:118651 invokeCallbackHandler@https://lib/WAServiceMainContext.js:1:122150