How to reproduce:
1. Open the attached project “LightbakeBugs.zip“
2. Open Scene “SampleScene“ (Assets/Scenes)
3. Open the Lighting window (Window>Rendering>Lighting)
4. Press “Generate Lighting“
Expected result: The Lightmap is baked
Actual result: Baking fails with infinite "Failed to find geometry with hash 00000000000000000000000000000000 for removal." errors in the Console, or single “Light baking could not be started because input extraction failed (FailedCreatingMeshData)“ error in the Console, or Unity crashes (depending on Unity version)
Reproducible with: 2022.2.0a15, 2022.2.7f1, 2023.1.0b4 (Error “Light baking could not be started because input extraction failed (FailedCreatingMeshData)“), 2023.2.0a2 (Unity crashes)
Not reproducible with: 2020.3.45f1, 2021.3.19f1, 2022.2.0a14
Reproduced on: macOS 13.0.1 (Intel)