Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Unity 2018.3 update broke 360 pano capture (flashing screen)

When trying to capture a 360 pano in Unity 2018.3 on a built version of my project (everything works fine in Editor, just breaks on build), I get this chain of errors repeated:

[OVRPlugin][ERROR] Device required[OVRPlugin][ERROR] OVR Error:
  Code: -6002 -- ovrError_TextureSwapChainInvalid
  Description: TextureSwapChain is not valid. Make sure ovr_CommitTextureSwapChain has been called.
  OVRTime: 698586.773935
  Time: 2019-02-12 16:14:10 [789:683:300]
[OVRPlugin][ERROR] ovr_SubmitFrame failed: TextureSwapChain is not valid. Make sure ovr_CommitTextureSwapChain has been called.
[OVRPlugin][ERROR] Prediction interval too high: 0.100982 s, clamping at 0.100000 s[OVRPlugin][ERROR] Device required[OVRPlugin][ERROR] OVR Error:
  Code: -6001 -- ovrError_TextureSwapChainFull
  Description: There is no room in the texture swapchain to accept more frames.
  OVRTime: 698587.908601
  Time: 2019-02-12 16:14:11 [924:349:700]
[OVRPlugin][ERROR] ovr_CommitTextureSwapChain failed: There is no room in the texture swapchain to accept more frames.
[OVRPlugin][ERROR] Error -1006 in CommitTextureSwapChain() for LayerId 2[OVRPlugin][ERROR] Error -1006 in CommitTextureSwapChain() for LayerId 2[OVRPlugin][ERROR] OVR Error:
  Code: -6001 -- ovrError_TextureSwapChainFull
  Description: There is no room in the texture swapchain to accept more frames.
  OVRTime: 698587.908829
  Time: 2019-02-12 16:14:11 [924:576:600]

Has anyone ever seen this before, and if so how would you recommend I fix it? I'm using Camera.RenderToCubeMap() as shown here: https://docs.unity3d.com/ScriptReference/Camera.RenderToCubemap.html
Everything worked fine in 2018.2. Additionally, now the pano is still captured and saved to disk, but the screen of the rift flashes between the color white and the regular image on-screen in an epilepsy-inducing way.

Comments

  • georgehito_irisgeorgehito_iris Posts: 5
    NerveGear
    Update: I was using the main scene camera to capture these panoramas - initialized a new camera to capture them instead and everything works. Still not quite sure what was going wrong, but I can move forwards now.
Sign In or Register to comment.