In a mixed reality application developed with Unity 2018.1.1f1 and the Mixed Reality Toolkit, I have two groups of holograms:
- Shared Holograms (instances shared with other users)
- Local Holograms (a specific instance for each user)
The local holograms and the shared ones have the HandDraggable.cs script attached so that the user can reposition each hologram with air tap and gestures.
Now. When the user is not yet connected to the sharing service, the HandDraggable.cs script works perfectly fine; this means that the user can air-tap an hologram an move it around as expected.
However, as soon as the user connects to the sharing service, the HandDraggable.cs script stops working on the local holograms only. This means that when the user air-tap the non shared hologram and then tries to move it, the hologram does not move.
Strangely this issue does not affect the shared holograms which can be air-tapped by the user and moved around as expected.
In the picture below the scene hierarchy is shown along with the "Handle" GameObject which hosts the HandDraggable.cs script which has a reference to the parent GameObject transform.
Question: why do the HandDraggable.cs becomes unresponsive on non shared holograms when the sharing session starts?