Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
5.6.0f3
Issue ID
897519
Regression
No
Progressive Lightmapper draws shadows when object's Cast Shadows property is set to Off
To reproduce:
1. Open attached project "LightmapBug.zip"
2. Open "Test" scene.
3. In Lighting Settings set Lightmapper to "Enlighten" and Generate Lighting.
4. No shadows created.
5. In Lighting Settings set Lightmapper to "Progressive (Preview)" and Generate Lighting.
6. Shadows are created, even though gameObject "Cube" has Cast Shadows set to Off.
Reproduce from scratch:
1. Create new scene.
2. Create Directional Light.
3. Create 2 cubes, so that 1 of them would cast a shadow on the other one.
4. Change Directional Light Mode to "Baked".
5. Select created cubes and set "Cast Shadow" to off, and make them Static.
6. In Lighting Settings, change Lightmapper to "Progressive (Preview)".
7. Generate Lighting.
Actual result: Objects with "Cast Shadows" set to Off are casting shadows.
Expected result: Shadows are not casted, if object's "Cast Shadows" parameter is set to Off.
Reproducible: 5.6.0b6, 5.6.0f3, 2017.1.0b1
Note: Progressive Lightmapper added in 5.6.0b6
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment