Skip to main content

StaticBatching

6 tools in this family (folder Editor/Tools/StaticBatching/ 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
batching_apply_all_safe_fixeswritesRun both safe auto-fixes in one call: batching_mark_candidates_static AND
batching_enable_gpu_instancing_eligiblewritesRun a scan for gpu_instancing_eligible and flip enableInstancing=true on every Lit material used
batching_estimate_drawcall_savingsread-onlySum the suggested_savings_drawcalls across all opportunities in the active scene without reporting
batching_export_reportwritesRun a full scan and write a Markdown report to Tests/AutoPlay/Batching/<scene>_<timestamp>.md.
batching_mark_candidates_staticwritesRun a scan for static_batching_candidates and flip BatchingStatic on every flagged renderer.
batching_scan_sceneread-onlyScan the active scene for static-batching, dynamic-batching, and GPU-instancing opportunities.