Search Unity

Resolved Unity 2020 or 2021 - Gaze Pointer - Button Hover not working

Discussion in 'VR' started by JC_CHARRIER, Apr 26, 2021.

  1. JC_CHARRIER

    JC_CHARRIER

    Joined:
    Feb 6, 2020
    Posts:
    2
    Hi everyone,

    I'm facing something very annoying that could not find any answer.
    I'm using Unity 2021.1.3 right now (but it has the same behavior with 2020 last version).

    To test the capacity of the Oculus Quest 2, I have loaded the Oculus scene called "UI" (from Oculus Integration > VR > Scenes).
    I have added a button in the "LightCanvas" next to the other UI elements.
    When I use Oculus Link to test it in the headset, everything works well as expected.

    But when I build and run it as APK in the headset, the hover color of the button is not showing but the button can still be pushed.

    I have found some similar topics on the Internet but none of the answers solved my problem.
    I don't understand why a RAW scene from Oculus Integration doesn't work as expected.

    Can anybody help on this ?
    Thanks for very much
    Kevin
     
  2. JC_CHARRIER

    JC_CHARRIER

    Joined:
    Feb 6, 2020
    Posts:
    2
    Ok, after some days of testing eveything, this is a problem with the OVRPlayerController script called "OVR Scene Sample Controller".
    After disabling/deleting it, it works again !
     
  3. unity_CA74AF6605EEE3410C09

    unity_CA74AF6605EEE3410C09

    Joined:
    Oct 21, 2021
    Posts:
    1
    Infact inside OVRPlayerController you need to disable OVRSceneSampleController and everything works fine!
    I'm sorry no one answered you (Sorry for bad english, i'm italian)