Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2018.4.X
Votes
0
Found in
2017.4.0f1
2018.4.0f1
2018.4.1f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1174524
Regression
No
Subtractive Mixed Lighting used with a Static Shadows Only Object changes when reloading the Scene or entering Play Mode
How to reproduce:
1. Open user-submitted project (SubtractiveStaticShadowOccluder)
2. Open the SampleScene
3. Open the Lighting Settings window and generate lighting
4. Enter Play Mode or save, switch to another scene and switch back
5. See the Scene view
Expected result: the lighting has not changed after entering Play Mode or reloading the Scene; static shadow occluder throws a grey shadow
Actual result: the lighting has changed after entering Play Mode or reloading the scene; static shadow occluder throws a red shadow
Reproducible with: 2017.4.31f1, 2018.4.6f1, 2019.1.14f1, 2019.2.1f1, 2019.3.0a12
Notes:
- Reproduces even if the occluder is set as a SSD which receives GI from light probes
- The issue only happens if the 'Scale In Lightmap' value of the shadow occluder's object is 0
- The issue only happens if the 'Auto Generate' checkbox in the lighting settings is unchecked
- Workaround: set the 'Scale in Lightmap' value of the shadow occluder to a minuscule value(e.g. 0.0001)
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
- [URP] When Rendering Layers are enabled, the DepthNormalPrepass is enabled even if not used
- Shader Graph Asset icon is blurry in the 4K monitors
- Default Value of ShaderGraph Color property is 0 by default
- Duplication of an asset in the Project view is continued for some time when holding and releasing CTRL+D
- "Failed to create Convex Mesh from source mesh" PhysX errors are thrown when looking around the Scene View while Collision Geometry is set to true
Resolution Note (fix version 2019.3):
SSDs were not written into the Lighting Data Asset, because they are not "baked". However, they influence GI, so they must be marked as such when evaluating shadow casters. This information was ignored, because the Lighting Data Asset is responsible for recreating the state when reloading the scene in the Editor.
Fixed in 2020.1.0a14
Resolution Note (fix version 2018.4):
Fixed in 2018.4.18f1