Mixedrealitytoolkit-unity: [MRTK v2 Beta 2] Focus provider error

Created on 23 Feb 2019  路  7Comments  路  Source: microsoft/MixedRealityToolkit-Unity

Overview

Error message related to FocusProvider.
'Microsoft.MixedReality.Toolkit.Services.InputSystem.FocusProvider' is missing the class attribute 'ExtensionOfNativeClass'!

2019-02-22 16_52_32-window
2019-02-22 16_52_25-window

Expected Behavior

No errors.

Steps to reproduce

  1. Clone MRTK repo. Switch to mrtk_release branch.
  2. Open in Unity
  3. Open BoundingBoxExample scene

Unity Editor Version

2018.3.2f1

Mixed Reality Toolkit Release Version

mrtk_release branch

Most helpful comment

Removing the FocusProvider from the scene will resolve this. Looks like one of the example scenes wasn't updated to the new pattern.

FocusProvider is now set in the input system profile:
image

All 7 comments

It seems like this scene has old 'MixedRealityPlayspace' object. Other scenes do not have 'FocusProvider' in the Camera.

Removing the FocusProvider from the scene will resolve this. Looks like one of the example scenes wasn't updated to the new pattern.

FocusProvider is now set in the input system profile:
image

Yes, it would be great to have a pass on all example scenes.

I did a quick review of the scenes and found the same issues in these:
InspectorFieldsGallery
TooltipExamples (This scene has old 'MixedRealityManager' with 'Body' object.)

fixed in mrtk_development

The 'BoundingBox' example scene also has the same issue.

Was this page helpful?
0 / 5 - 0 ratings