Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When click an ActionButton sometimes have "An Interactable received a Select Exit event for an Interactor that was not selecting it." #11781

Closed
ChiaraLoca opened this issue Sep 15, 2023 · 1 comment

Comments

@ChiaraLoca
Copy link

Describe the bug

I have a ActionButton, i use the MRTK3 ActionButton prefab.
When i click it in the editor sometimes i have 2 error:

This one is from CanvasProxyInteractor of MRTK XR Rig MRK3 3 prefab:
UnityEngine.XR.Interaction.Toolkit.XRBaseInteractable:OnSelectExiting (UnityEngine.XR.Interaction.Toolkit.SelectExitEventArgs)
Microsoft.MixedReality.Toolkit.MRTKBaseInteractable:OnSelectExiting (UnityEngine.XR.Interaction.Toolkit.SelectExitEventArgs) (at Library/PackageCache/com.microsoft.mrtk.core@66c690c1a686/Interactables/MRTKBaseInteractable.cs:291)
UnityEngine.XR.Interaction.Toolkit.XRBaseInteractor:EndManualInteraction ()
Microsoft.MixedReality.Toolkit.UX.CanvasProxyInteractor:StartSelect (UnityEngine.XR.Interaction.Toolkit.IXRSelectInteractable,UnityEngine.Vector3) (at Library/PackageCache/com.microsoft.mrtk.uxcore@13263b650b38/Interop/CanvasProxyInteractor.cs:74)
Microsoft.MixedReality.Toolkit.UX.UGUIInputAdapter:OnPointerDown (UnityEngine.EventSystems.PointerEventData) (at Library/PackageCache/com.microsoft.mrtk.uxcore@13263b650b38/Interop/UGUIInputAdapter.cs:241)
UnityEngine.XR.Interaction.Toolkit.UI.UIInputModule:Update () (at Library/PackageCache/[email protected]/Runtime/UI/UIInputModule.cs:132)

This one is from The component UIGUI input adapter of ActionButton :
An Interactor received a Select Exit event for an Interactable that it was not selecting.
UnityEngine.XR.Interaction.Toolkit.XRBaseInteractor:EndManualInteraction ()
Microsoft.MixedReality.Toolkit.UX.CanvasProxyInteractor:StartSelect (UnityEngine.XR.Interaction.Toolkit.IXRSelectInteractable,UnityEngine.Vector3) (at Library/PackageCache/com.microsoft.mrtk.uxcore@13263b650b38/Interop/CanvasProxyInteractor.cs:74)
Microsoft.MixedReality.Toolkit.UX.UGUIInputAdapter:OnPointerDown (UnityEngine.EventSystems.PointerEventData) (at Library/PackageCache/com.microsoft.mrtk.uxcore@13263b650b38/Interop/UGUIInputAdapter.cs:241)
UnityEngine.XR.Interaction.Toolkit.UI.UIInputModule:Update () (at Library/PackageCache/[email protected]/Runtime/UI/UIInputModule.cs:132)

i think the problem is the button but im not sure.

the button then execute the onclicked action

Your setup

  • Unity Version 2021.3.21
  • MRTK Version3 pre17

Target platform

  • HoloLens 2
@marlenaklein-msft
Copy link
Contributor

Hi @ChiaraLoca, for MRTK3 issues please file an issue in the new repository. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants