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:

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.

image

@jolleee 's answer is correct, just adding a screenshot to show what that looks like in the URP renderer asset.