Search Issue Tracker
Fixed in 5.3.5
Votes
48
Found in
5.3.4f1
Issue ID
790006
Regression
No
[Lighting] 'Bake Direct' job failed with error code: 5
1) Download the attached project
2) Open 30HzSample scene
3) go to the lighting window and press bake
4) observe the repeating error mentioned above
5) Observe the bake job never finishes.
Expected behavior:
Scene will bake with out error
Actual Behavior:
the follwing error is shown and light baking never finishes
''Bake Direct' job failed with error code: 5 ('Failed reading Bake Visibility Buffer file.').'
Error occurs <10 seconds after baking light.
Possible workaround, delete the GI Cache.
Goto Edit > Preferences, then GI cache then 'Clean Cache'
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
- Crash on EditorApplication:Internal_CallUpdateFunctions when pushing property block by index to SpriteShapeRenderer
- Depth Texture Mode "After Opaques" breaks when "Full Screen Pass Renderer Feature" is added
- The Code Previews panel is initially opened in a slightly minimized state
- Dropdown search icon is used next to the UI Builders Library search when the search has no dropdown functionality
- UI Builders library selection buttons tooltips are not in accordance with the Editors foundations
CrabSchell
May 27, 2016 18:07
Seeing this issue in v5.3.5p1 after upgrading our project from 5.2.3p3. The error seems to occur when the "Baked GI" Atlas size is 2048 or higher. If I drop it to 1024, the lighting bakes as expected.
Baked GI Settings In The Fail Case
-------------------------------------------------
Baked Resolution: 40
Baked Padding: 2
Compressed: true
Indirect Resolution: 1
Ambient Occlusion: 1
Max Distance: 1
Final Gather: False
Atlas Size: 2048 (Changing this to 1024 allowed the lighting to bake again)
zhuchun
May 23, 2016 15:00
UPDATE: @PAPPU33 's solution works for me. Uncheck "Auto", Clear cache then bulid it manually. After these it's fine know. "Final gather" doesn't change alot unless you don't care about the memory and set the resolution to a super high value, so in most case you can uncheck it safely until they fix this.
zhuchun
May 23, 2016 14:17
Same issue here. 5.3.5f1 borke the whole project :\
pappu33
May 21, 2016 13:43
Update: It started and completed baking after unchecked final gather option. Too scared to check it again with final gather 'on' now 0.0(Maybe you guys can check it in dummy projects).
pappu33
May 21, 2016 13:37
Same in 5.3.5f1.
janivarattensi
May 20, 2016 12:51
Same issue with Unity 5.3.5f1
Robin_Hayes
May 16, 2016 18:44
I am seeing this in my newly patched 5.3.4p6! Is there are workaround? I'm dead in the water.
moco2k
May 13, 2016 11:49
I also have experienced this issue for the first time with v5.3.4p6.
Never had this before with 5.3.4p1.
Seems like serious problem. Cannot bake any more right now.
Abruzzi
May 04, 2016 22:34
When I turn Directional Light "Baking" to Realtime then problem has gone. But when I set it to Baked or Mixed problem returned.
Abruzzi
May 04, 2016 22:31
Same problem on v5.3.4p5