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
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
- “GUIStyle” and “NullReferenceException” errors thrown in the Console when opening Object Field during script compilation
- Reflections are visible on objects without Recursive Rendering when viewed through transparent parts of another object with Recursive Rendering and Alpha Clipping enabled
- Visual artifacts appear when using "clip" method in custom shader and running on GLES
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