Remove the data, components, and properties that a scene uses for baked occlusion culling.
Baked occlusion culling is deprecated and will be removed in a future release. If a scene no longer needs baked occlusion culling, remove its setup to prevent Unity from generating and loading occlusion culling data for that scene and to reduce the size of your project.
Unity hides the Occlusion Culling window in projects you create in Unity 6.7 and later, so these steps apply to projects that you created in an earlier version and upgraded to a newer version.
Removing the setup doesn’t change how Unity performs frustum culling, which excludes renderers that fall outside a camera’s view frustum. If your project uses the Universal Render Pipeline (URP) or the High Definition Render Pipeline (HDRP), you can instead Enable GPU occlusion culling in URP or Enable GPU occlusion culling in HDRP.
Complete both of the following procedures. If you clear the baked data but leave the components and properties in place, Unity rebuilds the data the next time you bake the scene.
To clear the baked occlusion culling data:
OcclusionCullingData.asset file.OcclusionCullingData.asset file that stores the data.To remove the occlusion culling components and properties from a scene:
The scene no longer uses baked occlusion culling, so Unity no longer excludes renderers that are hidden behind other GameObjects. This might increase the number of draw calls in scenes that previously relied on occlusion culling. If you use another form of occlusion culling, such as GPU occlusion culling, Unity continues to exclude occluded renderers. To check the effect on your project, refer to Graphics performance and profiling.