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:
- Create a new project in Unity 6 using the 3D template.
- Add a Terrain object to the default SampleScene.
- Open the Lighting window (Window > Rendering > Lighting).
- Click Generate Lighting with default settings.
- 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).