Search Issue Tracker
Fixed
Fixed in 2023.2.0a21
Votes
0
Found in
2023.2.0a15
Issue ID
UUM-36601
Regression
Yes
Baking static objects with no material causes an Out Of Memory message in LightBaker
Steps to reproduce:
# Make a new scene
# Add a cube primitive
# Remove its material
# Make it static
# Bake
Result:
{{OpenCL Error. Falling back to CPU lightmapper. Error callback from context: IntersectionApi::Commit failure: likely out of GPU resources.}}
{{Light baking failed with error code 3 ('BakeJobInitializeLightmapData' failed because it ran out of memory.).}}
Note:
This reproduces when there are static objects in the scene but none of them have valid materials. If there is at least one valid object in the scene, the bake will complete successfully.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Property field override bar does not update transparency correctly when switching between valid and invalid GameObjects
- Project window selection is not updated when search term is changed
- Error when adding valid MonoBehaviour script to Prefab in Project window
- Editor Launch Screen will close when Enter is pressed on it
- ObjectPool's pool is destroyed when entering Play Mode without reloading Domain
Add comment