Search Unity

Problem with Daydream laser pointer when using photosphere skybox in unity

Discussion in 'Daydream' started by mgervais, May 1, 2019.

  1. mgervais

    mgervais

    Joined:
    Mar 27, 2019
    Posts:
    7
    Hi there.

    I have developed a 360 elearning prototype with photospheres and videospheres with unity and playmaker. I'm publishing for cardboard and daydream using the Google VR SDK for Unity. When I publish for cardboard everything goes well. I can interact with my hotspots using the reticle prefab attached to the camera.

    When I publish for daydream however, the controller prefab doesn't react as expected with the hotspots when in a photosphere. Either the pointer is not there at all, either the laser beam goes through the game object without interacting with it if I increase the draw distance.

    Could the controller prefab be in conflict with cubemaps and skyboxes ? Everything seems to go well when I use the controler to interact in a regular unity scene. Is there anything I'm missing here ?

    Any help would be greatly appreciated.

    Mike
     
  2. mgervais

    mgervais

    Joined:
    Mar 27, 2019
    Posts:
    7
    Here is an update for those who would eventually face the same issue.


    The problem was caused by the sphere collider. For some reason, if the sphere collider is active, it interferes with the controller's laser.