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 Oculus Quest 2 shaking in playmode and build

Discussion in 'VR' started by WJA8O2, May 15, 2023.

  1. WJA8O2

    WJA8O2

    Joined:
    Jan 30, 2023
    Posts:
    9
    Hello,

    I made a Unity project with the oculus integration package.
    When I run the application everything runs smoothly. Sometimes when I put on the VR headset everything begins to shake and I get these warnings:
    [OVRPlugin] xrReleaseSwapchainImage() failed: XR_ERROR_VALIDATION_FAILURE (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:8081)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1901)

    [OVRPlugin] [XRCMD][failure] [XR_ERROR_VALIDATION_FAILURE]: xrReleaseSwapchainImage(swapchain, &releaseInfo), arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.cpp:8079 (arvr\projects\integrations\ovrplugin\src\util\compositoropenxr.h:307)
    UnityEngine.Debug:LogWarning (object)
    OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1901)

    Does Anyone know how to fix this?
     
    JorisMullink likes this.
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,214
    Update unity, oculus xr plugin, xr management, if you use it oculus integration

    Does it still happen then?
     
  3. WJA8O2

    WJA8O2

    Joined:
    Jan 30, 2023
    Posts:
    9
    Yes we are running the latest versions and use oculus integration. it still happens
     
    JorisMullink likes this.
  4. WJA8O2

    WJA8O2

    Joined:
    Jan 30, 2023
    Posts:
    9
    I cant seem to get rid of this issue. I have been updating everything in the package manager. Changing things in the project and project settings. I tried making a completely new project but that doesnt help either. for me the issue is that I cant find any info about the warning and why it makes the VR camara shake.

    Is there anyone that can help me with this?
     
    JorisMullink likes this.
  5. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,214
    Did you enable oculus features in the OpenXR settings?
    And maybe just use the oculus plugin?
     
    JorisMullink likes this.
  6. WJA8O2

    WJA8O2

    Joined:
    Jan 30, 2023
    Posts:
    9
    Yeah I have and i tried using just the oculus plugin but still doesnt help.
     
    JorisMullink likes this.