Strange pixelated "shadow" with huge performance loss

Using 2020.2.0b8 with HDRP 10.1.0 I’m getting randomly something that looks like pixelated shadows. And when that happens there’s a huge performance drop so that I can hardly move in the editor. Looks like this:



I’m not even sure if it’s shadow related.

Does anyone know what this might be and how to get rid of it?

How many shadow casting lights do you have? HDRP use shadow atlas, and when atlas is full HDRP start spamming error message in console.

I disabled all point lights and only have 1 Directional Light for reproduction. There are no errors in the console.

I removed everything one after the other until only a terrain, a Reflection Probe and Screen Space Global Illumination remained. The problem was still there. Then I loaded the full scene again and disabled all Reflection Probes and Screen Space Global Illumination and the problem was still there. It’s not that easy to track I guess. Gonna make a repro case and file a bug report.

1 Like

Hey, it actually looks like a bug related to the tiled rendering.

In Window > Render Pipeline > Render pipeline debug window, enable the Tile debug rendering:

See if the blocks match the artifacts you see.

Are you using any custom shaders by any chance on all these affected materials?

Yes, that aligns perfectly. Wherever there’s a number it’s fine. Rest is flickering black.

I made a vid:

https://www.youtube.com/watch?v=lWDjYdmEwr0

Most materials are HDRP/Lit, but the asset does use custom ones as well. The HDRP/Lit are affected as well. It’s the awesome Lordenfel asset.

Oh by the way, in scene view it happens only when I maximize the tab. It’s not happening when the window is smaller.