# 4. Occlusion Culling in URP
Part of [[Scalability and Quality Tiers]]. Back: [[3. GPU Resident Drawer]]. Next: [[5. Runtime Switching Profiling and Pitfalls]].
> [!warning] Code not compiled in Unity
> Described from official 6000.5 GPU occlusion culling Manual pages. Not bake-tested or GPU-occlusion-tested in a scene.
## 4.1 Two official systems
Unity still has **classic occlusion culling**: you bake occlusion data in the Editor (Window > Rendering > Occlusion Culling), mark static occluders and occludees, and the runtime uses that data to skip hidden objects. It is well understood, it costs bake time and data size, and it is view-cell oriented.
URP 17.5 / 6000.5 also has **GPU Occlusion Culling** for cameras, official docs: enable the **GPU Resident Drawer** first, then enable **GPU Occlusion Culling**. The URP 17.5.0 inspector tooltip: "Enables GPU occlusion culling in Game and SceneView cameras." The serialized flag is `gpuResidentDrawerEnableOcclusionCullingInCameras`.
GPU occlusion culls **Resident Drawer** instances on the GPU, so it only helps objects that already qualify for the drawer ([[3. GPU Resident Drawer]]). Everything that fell back to the standard path is not in this system.
## 4.2 Enable GPU occlusion (official order)
1. Finish the Resident Drawer enable path in part 3 until the Frame Debugger shows instanced batches.
2. On the same URP asset, enable **GPU Occlusion Culling**.
3. Confirm in the Frame Debugger / Profiler that hidden instances drop out. Official docs note Game and Scene View cameras.
Do not enable GPU occlusion on a Quality asset that has Resident Drawer **Disabled**. There is nothing for it to cull.
## 4.3 Choosing per tier
| Tier | Practical default (measure afterwards) |
|---|---|
| Desktop / Laptop with Forward+ and a Resident-Drawer-friendly scene | Resident Drawer **Instanced Drawing** + **GPU Occlusion Culling**. Keep classic baked occlusion only if you still have a large set of *non-drawer* meshes that benefit from it |
| Quest, Forward+ proven, drawer proven | Try GPU occlusion and measure; the compute cost has to lose to the draw savings |
| Quest, Forward+ not used | Classic baked occlusion if the environment is static enough; skip GPU occlusion |
A mixed scene (static classroom furniture that qualifies, plus lots of skinned avatars that do not) can honestly use **both**: GPU occlusion on the furniture, baked occlusion or frustum culling on everything else. That interaction is **not verified** in this series — profile it before you ship both.
## 4.4 Bake hygiene, if you still bake
- Only mark true occluders (walls, floors, large props). Tiny decoration as occluders wastes bake time and can flicker.
- Rebuild after layout changes. Stale occlusion data is a classic "I can see through a wall after a set move" bug.
- Budget the baked data size on Quest the same way you budget textures ([[6. Quest Performance Budgets]]).
Next: [[5. Runtime Switching Profiling and Pitfalls]].