Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

GVR Reticle works in the editor but not in the actual app on phone

Discussion in 'Daydream' started by yashk1, Dec 5, 2017.

  1. yashk1

    yashk1

    Joined:
    Feb 10, 2017
    Posts:
    13
    I am making an app where I am using the GVR reticle pointer to start playing a video on a sprite after I click on it. (Google Cardboard sdk for unity.) I have set up all the required components on the sprite (collider, event trigger, videoplayer, play() on PointerClick etc.). It works flawlessly inside the editor (with GVREditorEmulator included in the scene.) However, after building the same scene as an android app, the reticle pointer stops working on the phone. It just doesn't detect the sprite and expand the ring on hovering over it. Clicks don't work either. I have checked and double check if I am missing collider or event trigger. Could anyone shed light on this?
     
  2. yashk1

    yashk1

    Joined:
    Feb 10, 2017
    Posts:
    13
    This is driving me crazy.. I tried changing the distances of the objects from the camera, Making the camera a child of another gameobject etc and nothing is working. Everything works as intended in the editor but not on the phone. I tested on Google Pixel and OnePlue 4.
     
    Last edited: Dec 5, 2017
  3. chelder

    chelder

    Joined:
    Apr 21, 2015
    Posts:
    14
    Same problem here (on Xiaomi 4A). Did you find a solution? :/
     
  4. chelder

    chelder

    Joined:
    Apr 21, 2015
    Posts:
    14
  5. HappaxVR

    HappaxVR

    Joined:
    Jan 26, 2018
    Posts:
    1
  6. chelder

    chelder

    Joined:
    Apr 21, 2015
    Posts:
    14
  7. NCartist

    NCartist

    Joined:
    Nov 3, 2013
    Posts:
    15
    Adding the GvrControllerMain to the scene did not solve this issue for me. Has anyone found any other solution?
     
  8. ccretrberk

    ccretrberk

    Joined:
    Feb 8, 2018
    Posts:
    7
    same issue
     
  9. redgene

    redgene

    Joined:
    Mar 29, 2018
    Posts:
    1
    Somebody help! Reticle does not work after building. Before that, in the play mode, it works.
     
  10. dhruv_mehandiratta

    dhruv_mehandiratta

    Joined:
    Apr 23, 2018
    Posts:
    1
    I am also facing the same issue. Does anyone have any solution?
     
  11. mpandouris

    mpandouris

    Joined:
    Oct 25, 2017
    Posts:
    1
    Same problem here and its driving me crazy!!
     
  12. Wingspear

    Wingspear

    Joined:
    Sep 23, 2017
    Posts:
    2
    Same problem here, it doesn't work in my iOS device
     
  13. inancatil

    inancatil

    Joined:
    Dec 9, 2016
    Posts:
    13
    I have kind of different problem here. It works in editor as it should be. But on the phone, when I launch my scene in none-vr mode, pointer doesnt expand when I look at object but I can touch the object to interact. Object doesnt have to be at the center too. I can touch any interactive object that camera can see. But in vr mode nothing works. There should be some setting I should change but cant figure out.
     
  14. nheidloff

    nheidloff

    Joined:
    May 23, 2018
    Posts:
    2
    I've tried the last three releases of GVR SDK for Unity, but never see the pointer on iOS (only in emulator). Does this work for anyone?
     
  15. nheidloff

    nheidloff

    Joined:
    May 23, 2018
    Posts:
    2
  16. Ratheeshr

    Ratheeshr

    Joined:
    May 10, 2018
    Posts:
    3
    same problem. how to fix this issue..!
     
  17. snmt_singh

    snmt_singh

    Joined:
    Jul 10, 2014
    Posts:
    6
    Any solution to this?
     
  18. WaleedRagab

    WaleedRagab

    Joined:
    Jul 20, 2016
    Posts:
    2
    Here what I did:
    -Delete Library folder
    -Delete Google VR folder
    -Open Unity and wait for it to recreate Library files
    -Switch platform to Android
    -Reinstall Google VR plugin

    That fixed it on Android devices although sometimes it stops again and I have to repeat the above steps for it to work again.
    It doesn't work on iOS still
     
  19. WaleedRagab

    WaleedRagab

    Joined:
    Jul 20, 2016
    Posts:
    2
    My problem on iOS is that I had 2 event systems, 1 for the Canvas and the other for GVR I disabled the event system of the canvas and moved the GVR event system to the top of the hierarchy. That fixed it for me
     
  20. amanigmtt

    amanigmtt

    Joined:
    Nov 27, 2015
    Posts:
    3
    Thank you it worked for both of android and ios Thanks, you save me
     
    happyrobotstudio likes this.
  21. Atakanos

    Atakanos

    Joined:
    Jul 3, 2019
    Posts:
    5
    Thank you Sir. This answer saved my life :)
     
    happyrobotstudio likes this.
  22. happyrobotstudio

    happyrobotstudio

    Joined:
    Apr 13, 2019
    Posts:
    14
    Thanks! Indeed, two event handlers causing the issue
     
  23. galveiab

    galveiab

    Joined:
    Feb 22, 2019
    Posts:
    1
    I had the same problem because I had EventSystem and GvrEventSystem in the same Scene
     
  24. unity_MT-0OZsT33qzMw

    unity_MT-0OZsT33qzMw

    Joined:
    Mar 11, 2020
    Posts:
    1
    Thanks its save my final project ...