Search Unity

  1. Read here for Unity's latest plans on OpenXR.
    Dismiss Notice

Help Wanted XR Simple Interactable - "On Activate" Usage

Discussion in 'AR/VR (XR) Discussion' started by ado20, Aug 30, 2020.

  1. ado20


    Feb 27, 2015
    Hi, I am working on VR Dashboard. I have a simple game object (should work as button) with "XR Simple Interactable" script attached on it. When I run this project I am able to trigger "On Hover Enter", "On Hover Exit" and even "On Select Enter", but for some reason I am not able to trigger "On Activate". Am I missing something ? What is the correct way to trigger this event ?

    Attached Files:

    Relec likes this.
  2. eugenner


    Oct 28, 2020
    I had accidentally pressed both a trigger and a grip buttons on my Oculus Quest 2 and as I see the event was fired. This works both with XR Device Simulator (should be pressed shift+G and mouse left button) and in the real device trigger + grip. Only I can't figured out how to connect that only with a trigger button...
    But with UI Button everything looks ok (works just with a trigger button).

    Aha, and from the docs: "Activation is an extra action, typically mapped to a button or trigger that affects the currently selected object." (
    Last edited: Feb 10, 2021
    kaasirc likes this.