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
- Build fails when building a project containing an 18+ dimension array with IL2CPP
- [Android][Sentis] Human poses are not detected when using the BlazePose model
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
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