今天想用unity打包一个AR的demo到手机里试试截屏功能,

在客户端运行都好好的,一打包就出现了标题里面的问题,

不仅如此,还有一连带的关于错误 The type or namespace name `Vuforia' could not be found. Are you missing an assembly reference?

意思就是找不到你using的这些命名空间,

我百度都找遍了,还是未果。

我就开始在工程里寻找哪里有这些命名空间。

工程里没有,那就应该在unity编辑器里面,

后来在Build Settings-Player Settings...-里找到了

关于错误 The type or namespace name `Vuforia' could not be found. Are you missing an assembly reference?右下角,XR Settings里。

找了好久的错误就是因为第三个没有勾选。

如果版本太久,没有勾选的话就需要去官网下载相关的脚本放在工程里。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-13
  • 2021-07-16
  • 2021-05-23
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-18
  • 2022-12-23
  • 2021-10-24
  • 2022-12-23
相关资源
相似解决方案