使用Vuforia报错:
Library\PackageCache\com.ptc.vuforia.engine@961073a467cc\Vuforia\Scripts\Internal\ARFoundationIntegration\ARFoundationFacade.cs(253,31): error CS0246: The type or namespace name 'ARTrackablesChangedEventArgs<>' could not be found (are you missing a using directive or an assembly reference?)
检查以后发现问题出在这个版本的Vuforia11是针对unity6进行优化的,配合的AR Foundation​ 包是高版本unity的,这就导致了兼容性问题。

如果在unity6中导入Vuforia是不会报这个错误的。

而且unity6中国不给用,尝试了一些办法使用unity6,但是也出现了新的错误:
尤其是打包的时候, visual studio报错找不到 SDK“WindowsMobile, Version=10.0.26100.0”。导致编译失败(该问题已解决,解决方法请看),无法将APP发送给hololens使用,但是从unity打包是成功的。

所以如果你的unity版本过低,是无法使用unity asset里面的Vuforia Digital Eyewear Sample(2025年6月18日)的,该实例目标引擎版本是6000.0.23

如果想解决该问题,建议使用Unity 6 6000.0.55f1版本+Vuforia 11.3.4进行hololens2开发,我自己尝试过该环境已经成功。