microsoft / MixedRealityDesignLabs_Unity

Mixed Reality Design Labs share experimental samples, explorations and learning from Windows Mixed Reality Design group. If you are looking for official toolkit, please use Mixed Reality Toolkit
MIT License
408 stars 110 forks source link

Failed to get pointer position source ID: 0 #93

Closed filsv closed 6 years ago

filsv commented 6 years ago

Hi, I'm trying to add Bounding Box + App Bar to a 3D object, it's doesn't work for me.

Everything from this tutorial: https://github.com/StephenHodgson/MRDesignLabs_Unity/tree/master/DesignLabs_Unity_Examples#app-bar--bounding-box

I'm using Unity 2017.1.0f3 and "MixedRealityToolkit-Unity & MRDesignLabs_Unity". I also tried latest Unity 2017.3.1f1 with "Unity-2017.2-Dev" branch.

Maybe I'm doing something wrong, please help.

By steps:

1) "Adding Hololens Prefab":

screen shot 2018-02-24 at 19 05 38 screen shot 2018-02-24 at 19 06 33

2) "Adding 3D Object - Sphere":

screen shot 2018-02-24 at 19 05 49

3) "Applying Bounding Box Target" on this object:

screen shot 2018-02-24 at 19 06 08

Project hierarchy:

screen shot 2018-02-24 at 19 06 33

The result, when I'm tapping on the My object with Bounding Box Target, I'm getting:

screen shot 2018-02-24 at 19 20 33

Log Warning: "Failed to get pointer position source ID: 0". (from InteractionManager.cs line 975).

What I'm doing wrong, or what I need to attach to make it works?

Thank you.

cre8ivepark commented 6 years ago

@filsv Hi, we have ported Bounding Box and App Bar to MRTK. It works with the latest MRTK Dev_Working_Branch. Please check this pull request: https://github.com/Microsoft/MixedRealityToolkit-Unity/pull/1785

cre8ivepark commented 6 years ago

@filsv Bounding Box and App Bar is now merged in MRTK's Dev branch. https://github.com/Microsoft/MixedRealityToolkit-Unity/blob/Dev_Working_Branch/Assets/MixedRealityToolkit-Examples/UX/Readme/README_BoundingBoxGizmoExample.md