Unity 6: Editor Crash When Generating Lighting with New Terrain

Description:
In Unity 6 (version 6000.0.31f1), the Editor crashes consistently when generating lighting, even with a fresh project containing only a new terrain object.

Steps to Reproduce:

  1. Create a new project in Unity 6 using the 3D template.
  2. Add a Terrain object to the default SampleScene.
  3. Open the Lighting window (Window > Rendering > Lighting).
  4. Click Generate Lighting with default settings.
  5. Unity begins to bake the lighting, and the Editor crashes.

Expected Result:
The lighting should generate successfully, and a baked lightmap should appear without issues.

Actual Result:
The Editor crashes during the lightmap baking process.

Notes:

  • This happens on a completely new project with no additional modifications or assets.
  • The crash occurs with Progressive CPU Lightmapper (default).