Search Issue Tracker
By Design
Votes
14
Found in
2019.4
2020.2
2021.1
2021.1.0b6
2021.2
Issue ID
1318622
Regression
No
No lighting is received when Mesh is drawn with CommandBuffer.DrawRenderer in Build
How to reproduce:
1. Open the user's attached "Missing lighting.zip" project
2. Go to File -> Build And Run
3. Observe the Character's lighting in the Player
Expected result: Character drawn with CommandBuffer.DrawRenderer receives lighting
Actual result: Character drawn with CommandBuffer.DrawRenderer doesn't receive any lighting
Reproducible with: 2020.3.0f1 (10.3.2), 2021.1.0b10 (11.0.0), 2021.2.0a7 (12.0.0)|
Could not test with: 2019.4.22f1 (7.5.3) - Due to errors downgrading
Note:
- The issue is not reproducible in Play Mode
- The issue is reproducible with Direct3D11, Direct3D12, Vulkan Graphics API
Comments (2)
-
PatrickBrightrock
Mar 08, 2021 11:18
Yes, please!
-
strich
Mar 08, 2021 11:05
This is a showstopper for our project. :(
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
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
Resolution Note:
CommandBuffer.DrawRenderer does not interact with any lighting, by design.