Partial freezing of frame / graphical artifacts / caterpillar smearing in Oculus Quest 2 build

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.

What version of the editor and runtime are you using?

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.

Hey @Stacklucker
Any chance you can provide a scene/project that reproduces this?

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?

Just a link to this forum post.

1 Like