Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Cross-Platform Multiplayer VR Game: Position not updating on Oculus

Discussion in 'VR' started by gunhyukyang, Dec 21, 2021.

  1. gunhyukyang

    gunhyukyang

    Joined:
    Feb 4, 2020
    Posts:
    6
    I've been making a VR cross-platform multiplayer game, and have issues with developing the Oculus VR headset. For the networking aspect, I have used the Mirror asset, and when testing the server on my Valve Index, the position of the player changes accordingly. However, when testing on the Oculus headset, the position of the player is not updated. Are there any solution to the problem?
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,138
    Is it Oculus on PC or Quest/Android?
     
  3. gunhyukyang

    gunhyukyang

    Joined:
    Feb 4, 2020
    Posts:
    6
    It's Oculus on Android
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,138
    Under xr management under android. Did you select oculus and enable xr on startup?
     
  5. gunhyukyang

    gunhyukyang

    Joined:
    Feb 4, 2020
    Posts:
    6
    Sorry for the absence, I did enable xr on startup and is using openxr
     
  6. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,138
    In desktop or android?
    If desktop, also select it in android
    If android, make sure you use vulkan (that's only supported on openxr)
     
    gunhyukyang likes this.
  7. gunhyukyang

    gunhyukyang

    Joined:
    Feb 4, 2020
    Posts:
    6
    Thanks for the help!
    I had the OpenGLES3 on top of Vulkan and it looks fine on the Oculus now.
    I'm still encountering some issues in terms of syncing the animation using Mirror.
    I will probably make a new thread for it.
     
    DevDunk likes this.