Vuforia HoloLens error with MRTK?
I am trying to use Vuforia HoloLens (2020.3 LTS) with MRTK on Unity (2020.3.14f1) to build an app but after importing the Vuforia package it gives errors. I am new to this and cannot figure it out. Can anyone help? - I set up a project and import the MRTK foundation package (no errors) - Then I create a new scene and import the Vuforia Hololens sample package - After importing the Vuforia package it gives an error Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@e9b993dcc637-1635000248149\Core\Utilities\EyeGazeSmoother.cs(15,36): error CS0535: 'EyeGazeSmoother' does not implement interface member 'IMixedRealityService.Name'
Answer by Yates_Yates_Yates · Nov 20, 2021 at 01:45 AM
I encountered the same issue with 2020.3.19f1
what i found to work (thus far) is to skip the step of installing MRTK as i normally would. With a fresh project, I just (1) immediately install the Vuforia Engine package (I chose to drag-and-drop the downloaded package 10-3-2 into Unity) and then (2) import the Vuforia HoloLens Samples asset that is downloaded form the Asset Store. After some odd/recursive asset installation prompts I landed in an error free place...just agree to whatever they say and Import when they prompt you to. And MRTK is somehow installed automatically along the way, so then you can Add to Scene and Configure. I haven't moved much further than this yet, but this install approach worked for me. Good luck.
Answer by ptc-pscheper · Jan 21 at 07:30 PM
The MRTK is already included in the Hololens sample. The error happens when the MRTK version and sample MRTK version collide. You should only import the MRTK when you create a new project without the samples.
Your answer
Follow this Question
Related Questions
Vuforia ios problem 1 Answer
How to control an Vuforia AR character using the Third Person Controller in Unity? 0 Answers
Black screen using Vuforia AR Camera for desktop app 1 Answer
how to place 2d/3d objects in real world based on location and altitude... 0 Answers
Newbie- Failed to repackage resources 0 Answers