Search Issue Tracker

Fixed

Fixed in 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:

  1. Download and open attached project ([^LightBaker-ErrorCode5Bug.zip])
  2. Open SampleScene
  3. 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)

  1. DrViJ

    Jan 06, 2025 13:26

    the problem is not fixed in Unity 6

  2. 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.