-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Overview
In our project we have registered a custom raycast provider in the input system, that has a number of special rules around what is considered a valid hit. After upgrading to MRTK 2.8, we now get unwanted focus events when using the GGV pointer, as it ignores our custom raycast provider and performs raycasts directly itself.
I assume the intent was not to prevent the use of custom raycast providers for the GGV pointer specifically, but it has certainly broken our use-case
Expected behavior
Pointers should all use the custom raycast provider configured in the input system
Actual behavior
Any pointers that implement 'IMixedRealityQueryablePointer' are ignoring the registered raycast provider
Steps to reproduce
Don't have one to share, sorry. It is obvious, however, from the method 'FocusProvider:QuerySceneWithPointer()', which accepts the raycast provider and doesn't use it.
Unity editor version
2019.4
Mixed Reality Toolkit release version
2.8.1