XRTK / com.xrtk.core

The Official Mixed Reality Framework for Unity
https://xrtk.io
MIT License
309 stars 34 forks source link

Teleportation does not work for WMR. Bezier line sticks to the floor #385

Closed wassx closed 5 years ago

wassx commented 5 years ago

XRTK - Mixed Reality Toolkit Bug Report

Describe the bug

I added all the latest xrtk packages to an empty unity 2019.1.14f1 project (UWP).

Added packages are:

"com.xrtk.core": "0.1.23",
 "com.xrtk.oculus": "0.1.5",
 "com.xrtk.sdk": "0.1.15",
 "com.xrtk.wmr": "0.1.7",

After "Mixed Reality Toolkit -> configure project" scene was setup and I cloned all relevant profiles without any changes. For the controllerprovider I deactivated all (target none) except the WMR for editor.

When I run the scene the white line is sticky to the floor and no teleportation works. image image image

Your Setup (please complete the following information)

Target Platform (please complete the following information)

Example Project

LaserUnicorn.zip

SimonDarksideJ commented 5 years ago

Right, I like simple answers, although it took me a while to find it. The answer to this is very simple, you disabled the WMR platform from running in the editor image

When you configured the platforms, you changed the UWP controllers to only run in Windows Universal. If you build and run your project on Windows 10, you will find your controllers there.

SO basically, the XRTK is doing what you told it to do and didn't start the Mixed Reality controllers because you told it not to in the editor :D

StephenHodgson commented 5 years ago

I bet this was an artifact from the breaking change we did to add the editor platform to the configuration settings

SimonDarksideJ commented 5 years ago

Nope, pretty sure this is expected behaviour, if you unselect editor, it doesn't run in the editor :P