Search Unity

Multiplayer Google Cardboard with UNet?

Discussion in 'AR/VR (XR) Discussion' started by kdragos, Jan 27, 2017.

  1. kdragos

    kdragos

    Joined:
    Jun 25, 2016
    Posts:
    13
    Hi everyone. I was hoping to make a Google Cardboard (and eventually Daydream) app multiplayer. I expected it to be fairly straightforward. Make and spawn a player prefab with everything attached. I'm only turning on the Cardboard stuff if it's the local player. This prevents the situation where there's several cameras rendering at once.

    When I only have one player in the scene, the camera renders appropriately. However when I add in other players, I get the error message - "There can only be one GvrViewer object in the scene." And the player's view turns to black. (See attached.)

    I'm using Unity 5.6.0b3 and the latest GoogleVR sdk.

    My question is essentially this:
    a. Has anyone done any multiplayer Google VR before?
    b. What am I missing/forgetting to turn on/off?

    Thanks!
     

    Attached Files:

  2. ira-jule

    ira-jule

    Joined:
    Mar 29, 2018
    Posts:
    2
    I have the exact same problem too! Do you finally know how to fix it?