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 Partial freezing of frame / graphical artifacts / caterpillar smearing in Oculus Quest 2 build

Discussion in 'VR' started by Stacklucker, Feb 7, 2022.

  1. Stacklucker

    Stacklucker

    Joined:
    Jan 23, 2015
    Posts:
    82
    Hi everyone,

    I am encountering very weird graphical artifacts when deploying to the quest 2 (no issues in the Unity Editor)
    I don't have an actual screenshot but occasionally (every couple seconds and especially when moving the camera) part of what is being rendered on my display freezes completely and results in a caterpillar-like growing artifact very similar to this:

    The weird thing is that it doesn't affect the whole screen but usually 1/3 to half of it, as if certain objects are lagging/freezing behind. This usually lasts for a second or two when I'm rotating/moving my camera, but much much longer when I'm not moving my camera at all once the artifacts have begun.

    I have never seen anything like this before and I know the only way I can debug this is essentially starting a completely new project and rebuilding my scenes from my current project one by one, bit by bit until I find out what causes this.
    I hope you can therefore forgive me asking before starting this tedious process;
    has anyone ever had similar issues?

    PS: Pressing the Oculus button during the glitches correctly displays the Oculus menu on top of the artifacts, so I am ruling out any hardware issues.
     
  2. ash_at_unity3d

    ash_at_unity3d

    Unity Technologies

    Joined:
    Jan 9, 2020
    Posts:
    41
    What version of the editor and runtime are you using?
     
  3. Stacklucker

    Stacklucker

    Joined:
    Jan 23, 2015
    Posts:
    82
    I am using Unity 2021.2.0f1 and think I narrowed down the problem to changing the skybox material.
    When using a simple Unlit Texture (URP) as a the skybox the artifacts pop up. Unity gave me a warning in the inspector that the shader was not supported for the skybox, but even after changing to a few other skyboxes I used in other games (which didn't throw shader warnings) I still got the same artifacts.

    For now I think I resolved the issue by switching back to Unity's Default-Skybox but since I still don't know what, or which shaders, exactly cause the issue I will keep experimenting.
     
  4. ash_at_unity3d

    ash_at_unity3d

    Unity Technologies

    Joined:
    Jan 9, 2020
    Posts:
    41
    Hey @Stacklucker
    Any chance you can provide a scene/project that reproduces this?
     
  5. Stacklucker

    Stacklucker

    Joined:
    Jan 23, 2015
    Posts:
    82
    Yes, but I'm afraid it'll have to wait until the weekend. Should I add anything as a comment when handing in the bug report?
     
  6. ash_at_unity3d

    ash_at_unity3d

    Unity Technologies

    Joined:
    Jan 9, 2020
    Posts:
    41
    Just a link to this forum post.
     
    Stacklucker likes this.