How to reproduce:
1. Open the attached project “UVBakeTest1.zip“
2. Open Scene “BakeScene“
3. Enable the “ScrollingCube“ GameObject in the Hierarchy
4. Press “Generate Lighting” in the Lighting window (Window>Rendering>Lighting)
Expected result: Lighting is generated
Actual result: Lighting generates indefinitely
Reproducible with: 2020.3.47f1, 2021.3.22f1, 2021.3.23f1, 2022.2.12f1, 2023.2a013
Not reproducible with: 2020.3.46f1, 2021.3.21f1, 2022.2.11f1, 2023.?
Reproduced on: macOS 13.0.1 (Intel), Windows 11 (by reporter)
Note: When reproducing on 2023.X, make sure to use Auto Generate Lighting. The bug also affects 2023.2, but only when baking with Auto Generate Lighting.