Search Issue Tracker
Fixed in 2023.1.1f1
Fixed in 2023.1.X, 2023.2.X, 2023.2.0a13
Votes
1
Found in
2023.1.0b10
2023.2.0a8
Issue ID
UUM-32710
Regression
Yes
"Lighting bake stops with error 2 ('AddGeometry' failed with exit code: 4)" error is thrown without telling which mesh is problematic when Generating Lighting
Steps to reproduce:
1. Open the attached “BakingErrorBug” project
2. Open the “Map011_building” scene
3. Open the Lighting window by going to Window → Rendering → Lighting
4. Press Generate Lighting button
Expected result: Throws an error saying which mesh is problematic
Actual result: Throws "Lighting bake stops with error 2 ('AddGeometry' failed with exit code: 4)" error
Reproducible with: 2023.1.0a20, 2023.1.0b10, 2023.2.0a8
Not reproducible with: 2020.3.46f1, 2021.3.22f1, 2022.2.13f1, 2023.1.0a19
Reproduced on: macOS Monterey 12.2, Windows 11 (by user)
Note: Not reproducible with versions throws “[PathTracer] Failed to add geometry for mesh 'Optimized__Leuchtring Instance'; mesh contains non-finite values. Affected channel(s): TexCoord0|TexCoord1.” error
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Tile Palette] Sprites not rendering when brush tool "Paint a filled box with active brush" is used for the first time
- Adding available Nodes with longer names in Fragment Context window overflow Fragment Context window in Shader Graph
- "Layer Palette Profile" Asset is automatically applied to the second Terrain but doesn't load any layers
- "Terrain Tools" shortcut conflicts with the Overlays shortcut by default
- Longer Shader Graph Property Reference names breaks VFX Graph Output Particle Node
ecreators
May 18, 2023 06:00
I got this error too
Light baking failed with error code 2 ('AddGeometry' failed with exit code: 4).