这个报错出现在ARCORE项目第一次打包导出的过程中,尤其是新版本的unity中这类问题比较常见,具体的解决方案我在之前的文章中也和大家分享过。但是可能不太方便大家直接搜索找到。所以今天又单拿出来,写了一篇小的避坑文。

错误格式

UnityException: ARCore is only supported when using the OpenGLES3 Graphics API. Ensure that OpenGLES3 is the only target in the list of Graphics APIs in your PlayerSettings.
如下图:

ARCORE导出时报错“UnityException: ARCore is only supported when using the OpenGLES3 Graphics API.”的解决方案

解决方案

打开Player Settings——打开Other Settings如下图——将“Auto Graphics API”设置为如下状态即可(注意标红的地方,只保留“OpenGLES3”才可以)

ARCORE导出时报错“UnityException: ARCore is only supported when using the OpenGLES3 Graphics API.”的解决方案
改为如上设置,这个问题就可以轻松解决了。

如果帮到你的话,看在我热心分享的份上,就请点个赞吧~

相关文章:

  • 2021-05-14
  • 2021-04-07
  • 2021-08-05
  • 2021-07-20
  • 2021-06-13
  • 2021-06-07
  • 2021-04-08
猜你喜欢
  • 2021-06-13
  • 2021-06-10
  • 2021-08-31
  • 2021-08-31
  • 2022-12-23
相关资源
相似解决方案