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

Hololens 2: Near Touchable UI stops working when there are grabbables in the scene

Open ninjanoka opened this issue 6 years ago • 3 comments

Overview

The UI interaction stops working in my scene with grabbables. (far interaction still works)

Expected behavior

Can press the UI as before.

Actual behavior

UI only works with far interaction.

Steps to reproduce

(Links to sample github project preferred) use UGUI nearinteraction. Load grabbables(nearinteractiongrabbable, manipulationhandler, boundingbox) -> UI stops responding

Unity editor version

2019.3.13

Mixed Reality Toolkit release version

2.3

ninjanoka avatar Jun 12 '20 10:06 ninjanoka

It seems something is blocking it somehow. Is there any way to find out what? When I move my button down it starts to work properly. (far interaction still works)

ninjanoka avatar Jul 17 '20 12:07 ninjanoka

In the Input -> Pointer settings you can set multiple Pointing Raycast Layer Maks. You could put the UI and grabbables on separate layers and prioritize the UI layer. That's at least how i fixed a conflict with a bounding box

sixpolys avatar Jul 30 '20 15:07 sixpolys

@ninjanoka did @MrMatthias 's suggestion resolve your issue? Closing this issue for staleness now, but please reopen if you need further assistance.

Zee2 avatar Aug 06 '21 22:08 Zee2