Search Unity

Game hangs if user starts game when SteamVR is running

Discussion in 'AR/VR (XR) Discussion' started by amidofu, Jul 6, 2018.

  1. amidofu

    amidofu

    Joined:
    Mar 1, 2016
    Posts:
    23
    Hi,

    One of our player got an issue that the game hangs (not responding in Windows task manager) if SteamVR is already running, but the game works fine if he starts the game without running SteamVR first.

    We compared the output_log.txt and found that when the game hangs, the log doesn't print this line: "GfxDevice: creating device client; threaded=1". But this line is printed when the game runs normally.

    So I wonder what Unity is doing when when it prints "GfxDevice: creating device client; threaded=1". Although this might not be the root cause of this issue, we hope it can give us some clues.

    BTW, this issue doesn't happen for every player, we can't reproduce it on our end.

    Thank you
     
  2. amidofu

    amidofu

    Joined:
    Mar 1, 2016
    Posts:
    23
    anybody can help? Thanks
     
  3. amidofu

    amidofu

    Joined:
    Mar 1, 2016
    Posts:
    23
    Finally solved this.
    It is becuase we didn't put CameraRig in the scene :(