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. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

Bug Saving a screenshot with Oculus XR + Vulkan only saves a partial screenshot

Discussion in 'VR' started by ComeOnAndSam, Mar 8, 2023.

  1. ComeOnAndSam

    ComeOnAndSam

    Joined:
    Nov 8, 2016
    Posts:
    62
    So I have a scene where I save a screenshot I take with a different camera in the scene, and then save it to my Quest device.

    However, it's always between 1/5th and 1/2 of the screenshot that's shown, the rest is blank. If I turn Oculus XR off, build the same scene and save to the same place, it's a full picture.

    I've been unable to figure out a cause for this. If I view the screenshot in scene, it's fine, but when saved it's mostly missing. Is there a way to get this to work?
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,217
    Which unity version?
    Which Oculus XR version?
    Just on Oculus XR or also OpenXR?
     
  3. ComeOnAndSam

    ComeOnAndSam

    Joined:
    Nov 8, 2016
    Posts:
    62
    Unity 2022.2.0f1

    Oculus XR plugin 3.2.3

    I'm not using OpenXR, just Oculus XR

    I've found that this issue is specific to graphics API being set to Vulkan, it does not happen on OpenGL, but I need it to work on Vulkan.
     
  4. ComeOnAndSam

    ComeOnAndSam

    Joined:
    Nov 8, 2016
    Posts:
    62
  5. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,217
    I suggest making a bug report from your unity version. Also link this thread for more info.
    You can try to see if this happens in the latest 2021.3 version. Performance is a lot better there as well