Error when building Unity+MRTK3.0 project: 'The type or namespace name 'EyesPose' could not be found'

Liang Chen 0 Reputation points
2024-07-01T09:26:28.8233333+00:00

I am building a project with Unity+MRTK3.0, and I am getting an error that states: 'The type or namespace name 'EyesPose' could not be found'. However, the script 'EyeCalibrationChecker' has 'using Windows.UI.Input.Spatial'. The error message shows:I am building a project with Unity+MRTK3.0, and I am getting an error that states: 'The type or namespace name 'EyesPose' could not be found'. However, the script 'EyeCalibrationChecker' has 'using Windows.UI.Input.Spatial'. The error message shows:

Library\PackageCache\org.mixedrealitytoolkit.input@fd4c2f6aee55\Utilities\EyeCalibration\EyeCalibrationChecker.cs(123,21): error CS0246: The type or namespace name 'EyesPose' could not be found (are you missing a using directive or an assembly reference?)Library\PackageCache\org.mixedrealitytoolkit.input@fd4c2f6aee55\Utilities\EyeCalibration\EyeCalibrationChecker.cs(123,21): error CS0246: The type or namespace name 'EyesPose' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\org.mixedrealitytoolkit.input@fd4c2f6aee55\Utilities\EyeCalibration\EyeCalibrationChecker.cs(123,49): error CS1061: 'SpatialPointerPose' does not contain a definition for 'Eyes' and no accessible extension method 'Eyes' accepting a first argument of type 'SpatialPointerPose' could be found (are you missing a using directive or an assembly reference?)Library\PackageCache\org.mixedrealitytoolkit.input@fd4c2f6aee55\Utilities\EyeCalibration\EyeCalibrationChecker.cs(123,49): error CS1061: 'SpatialPointerPose' does not contain a definition for 'Eyes' and no accessible extension method 'Eyes' accepting a first argument of type 'SpatialPointerPose' could be found (are you missing a using directive or an assembly reference?)

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,578 questions
HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
388 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more