当前位置: 代码迷 >> 综合 >> 在unity中创建AR项目,报错‘BuildPipeline‘ does not contain a definition for ‘GetBuildTargetN‘
  详细解决方案

在unity中创建AR项目,报错‘BuildPipeline‘ does not contain a definition for ‘GetBuildTargetN‘

热度:7   发布时间:2023-12-12 20:50:41.0

在Unity中的AR项目中。我的Unity版本是2019.4。
在unity中创建AR项目,报错‘BuildPipeline‘ does not contain a definition for ‘GetBuildTargetN‘
解决方案:remove XR Plugin Management
remove AR Foundation
remove ARKit XR Plugin
然后再安装XR Plugin Management 3.2.16---->AR Foundation 4.1.1—> ARKit XR Plugin 4.1.1

亲测有效!!!1
借鉴:
(Had to remove AR Foundation in the Package Manager first, then downgraded XR Plugin Management to 3.2.16, then reinstalled AR Foundation.

Also had to downgrade AR Foundation and ARKit XR Plugin, both to version 4.1.1, as recommended in the thread linked above!)

  相关解决方案