收藏
回答

发版后XR-FRAME的AR摄像头开启失败,报错 AR system start error?

使用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>


回答关注问题邀请回答
收藏

1 个回答

  • 肖辉
    肖辉
    2023-09-12

    遇到同样的问题,开发、体验版本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
    


    2023-09-12
    有用
    回复 1
    • 肖辉
      肖辉
      2023-09-12
      更新小程序隐私保护指引
      2023-09-12
      回复
登录 后发表内容