Builtin Library
README.md
detect
The bake-coverage check: reports what in the scene needs baking or re-baking, and why. It scans the scene (or a scope, an entity name/id or an array of them) and reports, each with the one call that fixes it, these findings: a stale bake (lights edited or added since the bake), shadow-casting point and spot lights that re-render their shadow every frame, static surfaces with no lightmap and no probe-volume coverage, movers outside every probe volume (or no probe volume at all), and a scene with no reflection probe.
Returns { clean, summary, staticGeometry, bakedStatic, movers, coveredMovers, shadowCasters, probeVolumes, reflectionProbes, findings }, where each finding is { kind, severity, count, detail, fix }. clean = true with an empty findings list means the scene is covered.
baking.detect()
baking.detect("interior")