MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

Hololens clicker not working

Open Kartik99999 opened this issue 7 years ago • 15 comments

Overview

Clicker not working with interactable and other scripts also

Expected Behavior

Should select or click on the gazed object

Actual Behavior

Just show a white line when clicked and nothing get selected or clicked. Also deployed to device that is on HoloLens

Unity Editor Version

2018.4.1

Mixed Reality Toolkit Release Version

Microsoft Mixed Reality Toolkit v2.0.0 RC2.1

Kartik99999 avatar Jul 21 '19 04:07 Kartik99999

This should be fixed in #5402! Please take a look, if you get a chance.

keveleigh avatar Jul 22 '19 20:07 keveleigh

Closing as this should be fixed. please reopen if issues persist.

Yoyozilla avatar Jul 24 '19 03:07 Yoyozilla

How can I detect the clicker input. I am getting white line in the hololense after clicking from it, Please help ASAP

iotMice avatar Aug 31 '19 08:08 iotMice

How can I detect the clicker input. I am getting white line in the hololense after clicking from it, Please help ASAP

You must be using MRTK. Use the latest source code of MRTK and make sure that you install the application on the HoloLens. I am building for HoloLens 1 and MRTK don't support HoloLens 1 completely so it's better to use HoloToolkit to build for HoloLens 1

Kartik99999 avatar Sep 10 '19 06:09 Kartik99999

Thanks. I think I have figured it out using InteractionManager_InteractionSourcePressed(InteractionSourcePressedEventArgs args) method rather than using mrtk for controllers

iotMice avatar Sep 10 '19 07:09 iotMice

We definitely support HL1 and the clicker with MRTK!

@iotMice Which version of MRTK are you using? I made some updates in the linked PR above (#5402) to better support the clicker. Are you still seeing the white line with the GA 2.0.0 version?

@Kartik99999, what do you mean by the MRTK not supporting HoloLens 1 completely? Please file issues whenever you run into something unexpected.

keveleigh avatar Sep 10 '19 15:09 keveleigh

We definitely support HL1 and the clicker with MRTK!

@iotMice Which version of MRTK are you using? I made some updates in the linked PR above (#5402) to better support the clicker. Are you still seeing the white line with the GA 2.0.0 version?

@Kartik99999, what do you mean by the MRTK not supporting HoloLens 1 completely? Please file issues whenever you run into something unexpected.

HoloToolkit supported placing anchors in the surroundings. I can't find that in MRTK. Is it available now as it has been 20 days?

Kartik99999 avatar Sep 10 '19 18:09 Kartik99999

HoloToolkit supported placing anchors in the surroundings. I can't find that in MRTK.

@Kartik99999 We do have the WorldAnchorManager in MRTK, which should currently function similarly to the one in HoloToolkit: https://github.com/microsoft/MixedRealityToolkit-Unity/blob/mrtk_release/Assets/MixedRealityToolkit.SDK/Experimental/Features/Utilities/WorldAnchorManager.cs

We're still working on an improved anchor management system as well, hence why that script is currently in the Experimental folder.

keveleigh avatar Sep 10 '19 20:09 keveleigh

@keveleigh I am using mrtk 2.0. I am able to detect the click events as mentioned . But I am facing one issue, which is white dotted line comes after I make my first click, and it remains there at the screen.How should I solve it

iotMice avatar Sep 12 '19 03:09 iotMice

@iotMice I'm going to reopen this issue and investigate!

keveleigh avatar Sep 12 '19 17:09 keveleigh

@keveleigh Thanks for that. If you try pressing the clicker, after the first click the white long pointer line ll be there, though rest of the functionality ll work fine. But the line ll remain on the Hololense view., until u close the app. Do let me know if you need more information for the same.

iotMice avatar Sep 13 '19 06:09 iotMice

@keveleigh is there any update on the same?

iotMice avatar Sep 24 '19 06:09 iotMice

I am not able to reproduce this on the latest 2.1.0 code. The clicker selects and interacts without a pointing ray (as expected)

david-c-kline avatar Oct 04 '19 20:10 david-c-kline

@davidkline-ms Can you tell me how do you add clicker functionality in any custom application made in Unity by importing Hololens SDK. Which interface are you using to map the click events.

Thanks and Regards

iotMice avatar Nov 06 '19 07:11 iotMice

Does the clicker work on Holographic Emulation?

mrcfschr avatar Nov 07 '19 19:11 mrcfschr