Closed BenediktHensen closed 3 years ago
Fixed in this and this commit. In case of an actually invalid cursor the connection curve manager now doesn't throw nullpointer exeption anymore, the gaze cursor is now recognised as valid and the selection of the main cursor now checks which cursor actually focuses the object, that called the event, instead of selecting one basically at random.
Describe the bug When no hand tracker is found and there is only a gaze cursor, the connection curve throws a null reference exception every frame once you start creating a curve.
To Reproduce Steps to reproduce the behavior: Follow these steps in the editor by right-clicking and dragging to place the cursor on a button and then left-click to tap the button. Do not touch the left shift key or space key so that no simulated hand is created.
Expected behavior No error should happen and ideally, the connection curve should still be placeable with the gaze cursor.
Screenshots
Bug Observed on the Following Devices Check applicable devices and platform by putting an x in-between the square brackets.
Additional context I would expect that the same problem also exists on the HoloLens 1 since it does not have hand-controllers.