Search Issue Tracker
Fixed
Fixed in 2023.1.X, 2023.1.0a24
Votes
0
Found in
2023.1.0a21
Issue ID
UUM-19998
Regression
Yes
Light baking failed with error code 5 when attempting to bake lighting via script
Steps to reproduce:
- Download and open attached project ([^LightBaker-ErrorCode5Bug.zip])
- Open SampleScene
- In the top menu bar, select Bake > Bake active scene
Expected result:
- Bake finishes without errors
Actual result:
- Bake fails with an error (see [^Editor.log])
Notes:
- Observed in 2023.1.0a21 with LightBaker refactor
- Does not affect PVRRuntimeManager
- Only affects GPU lightmapper; CPU lightmapper is unaffected
- Observed on macOS 10.15.7 using AMD 5500M GPU
- Generate Lighting button works as expected still
Comments (2)
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
DrViJ
Jan 06, 2025 13:26
the problem is not fixed in Unity 6
MonkeyYao
Nov 29, 2024 06:40
same error. "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps.)."
unity6000.0.25f1(Silicon), macOS15.1.1, m1 2020, 16GB RAM.
lightmap resolution:20, max lightmap size:2048, lightmap compression:low quality