Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Do the Relay and Lobby services work on Oculus VR?

Discussion in 'Relay' started by abhijeetk829-, Aug 7, 2023.

  1. abhijeetk829-

    abhijeetk829-

    Joined:
    Oct 31, 2022
    Posts:
    4
    Hi,

    I'm building a multiplayer app for Oculus VR using Relay and Lobby services.

    The issue I'm facing is, the app runs fine without errors on the desktop connecting multiple players. However, when the same code is compiled for VR, the app exits after showing the splash screen.

    This according to me is happening due to Relay, because with Lobby alone the app ran fine on Oculus.

    Any suggestions for VR will be helpful.
     
  2. unity-justin

    unity-justin

    Unity Technologies

    Joined:
    Oct 27, 2021
    Posts:
    9
    Hi abhijeetk829-, are you able to provide the specific error logs or a crash dump?
     
  3. abhijeetk829-

    abhijeetk829-

    Joined:
    Oct 31, 2022
    Posts:
    4
    I've attached an image that shows the crash result.
     

    Attached Files:

  4. unity-justin

    unity-justin

    Unity Technologies

    Joined:
    Oct 27, 2021
    Posts:
    9
    Hey abhijeetk829-, sorry for the delay, this one slipped under the radar!
    According to the stack trace, the crash is coming from the InputSystem rather than from Relay. It's possible that your code using Relay also uses the InputSystem, which might be misconfigured with the Oculus