Skip to main content

LightingDoctor

8 tools in this family (folder Editor/Tools/LightingDoctor/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
lightingdoctor_auto_fix_allwritesRun a full scan and execute the fix_action for every issue with auto_fixable=true. Today this
lightingdoctor_auto_place_probeswritesCreate a LightProbeGroup at scene origin with probes on a uniform grid covering scene bounds.
lightingdoctor_auto_place_reflection_probeswritesPlace ReflectionProbes at strategic points in the scene (center + corners + edge midpoints).
lightingdoctor_bake_nowwritesTrigger an asynchronous lightmap bake via Lightmapping.BakeAsync. Returns immediately with
lightingdoctor_check_mobile_budgetread-onlyReport realtime light count, shadow caster count, and an estimated lightmap atlas size for
lightingdoctor_export_reportwritesRun a full scan and write a Markdown report to Tests/AutoPlay/LightingDoctor/<scene>_<timestamp>.md.…
lightingdoctor_scanread-onlyScan the active scene for lighting setup issues across 9 categories: missing reflection probes,
lightingdoctor_set_skyboxwritesAssign a Material to RenderSettings.skybox by asset path. Use when lightingdoctor_scan reports