EOC adds occlusion culling to Unity Entities Graphics (URP/HDRP): it hides entities fully hidden behind other geometry, cutting draw calls and triangles in dense scenes. No setup needed.The demo materials use URP Lit (switched to HDRP Lit automatically on HDRP). The validator’s temporary project has no URP or HDRP, so it reports them as non-SRP; in a URP or HDRP project they are compatible. EOC requires Entities Graphics, which only supports URP and HDRP. Tested with Enter Play Mode Options (domain and scene reload disabled) on URP and HDRP.EOC is a runtime tool for any project that renders with Entities Graphics on URP or HDRP. It’s not tied to a genre: cities, interiors, open worlds, strategy and simulation games with many objects benefit most, because large objects hide many smaller ones.Customizable: you can switch culling on and off from code, the Tools menu, a hotkey or a launch argument.Extensible: you can add support for another render pipeline through a small adapter interface (IEOCDepthSource).Full source: C# and shaders are included.Demo: a procedurally generated city (297 buildings, 891 renderers) with a toggleable wall shows the effect live. In the demo view, triangles drop from 56.1 M to 25.6 M with culling on, and to about 4.8 K with the wall in front.Occlusion culling for Entities Graphics renderers, with no per-object setupURP and HDRP, Unity 2022.3 LTS to Unity 6.5, Entities 1.0.8 and newer (tested matrix in the manual)Works with Fast Enter Play Mode (domain and scene reload disabled)Burst-compiled, multi-threaded culling jobHides an entity by switching an enable bit, not by restructuring entity dataShadow-safe: never hides anything within the shadow distance plus 10 mConservative: hides only what is completely covered, and hides nothing in a frame where the camera jumped or the depth image doesn’t line upPackage check: lists missing or outdated packages instead of failing with compile errorsSimple API: EOC.Enabled, EOCFrame.HiddenCount, EOC.RegisterDepthSourceDemo scene with a live stats panel (hidden entities, draw calls, SetPass calls, triangles)Full C# and shader source, offline PDF manualNo third-party code or artI used a coding agent to write a script for generating a high polygon city environment using primitive shaped only. The script creates buildings using primitive shapes, and places them in the scene creating a simple city level design.







