Unity 2018.2.1中的Vuforia AR核心示例引发错误

时间:2018-09-30 18:22:48

标签: unity3d vuforia

我有Unity Editor版本2018.2.1和Vuforia 7.2.23。如果我从资产存储下载Vuforia核心样本,则在导入资产后会收到以下错误。 这是错误

Assets/Common/Scripts/CloudRecoEventHandler.cs(82,42): error CS1061: Type `Vuforia.ObjectTracker' does not contain a definition for `GetTargetFinder' and no extension method `GetTargetFinder' of type `Vuforia.ObjectTracker' could be found. Are you missing an assembly reference

还有这个

Assets/SamplesResources/SceneAssets/CloudReco/Scripts/CloudTrackableEventHandler.cs(37,61): error CS1061: Type `Vuforia.ObjectTracker' does not contain a definition for `GetTargetFinder' and no extension method `GetTargetFinder' of type `Vuforia.ObjectTracker' could be found. Are you missing an assembly reference?

这是截图enter image description here

即使在注释这些行的情况下运行,它也需要升级我下载的Vuforia 7.5,但仍然无法安装

1 个答案:

答案 0 :(得分:1)

资产商店中的核心样本不支持vuforia 7.2 您必须手动更新vuforia(7.3+)或安装Unity 2017.3.0或更高版本