When I se my layer #22 all objects become invisible (game view) and wireframe (sceneview)

I have 22 layers in my game.

When I set an object to layer #22 which in this case is called PostProcessing (doesn’t matter) it renders as a wireframe in Scene-view and is not shown in Game-view.

My camera is set to render that layer and I have not marked it as unseens in the layers dropdown.

Any idea what could be causing this?


Some screenshots:

Imgur

I was using URP and had the layer unchecked in my renderer asset filtering because I was using some renderer feature for it. Ticking it back solved the issue.