unity build_error ai_generated true

Lightmap baking failed: insufficient memory

ID: unity/lightmap-bake-error

Also available as: JSON · Markdown
78%Fix Rate
82%Confidence
3Evidence
2023-01-01First Seen

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
2022 active

Root Cause

Lightmap baking failed due to memory or configuration.

generic

Workarounds

  1. 88% success Reduce lightmap resolution per-object for less important areas
  2. 85% success Use GPU lightmapper for faster baking: Window > Rendering > Lighting

Dead Ends

Common approaches that don't work:

  1. Use real-time lighting for everything 72% fail

    Performance hit at runtime

  2. Reduce lightmap resolution globally to minimum 68% fail

    Poor visual quality