Search Issue Tracker
By Design
Votes
0
Found in
2017.1.0p4
Issue ID
946021
Regression
No
Parts of model which are not in front of other objects become black after disabling Deferred shaders
Reproduction steps:
1. Download project "Bugtest.zip" and open in Unity
2. Enter Play mode
Expected: gun has a texture all around the scene (Expected.png)
Actual: parts of a gun are black which are not in front of other objects (Actual.png)
Reproduced on: 5.6.3p2; 2017.1.1f1; 2017.2.0b10; 2017.3.0a7
Note:
Renderer.material.SetShaderPassEnabled("Deferred", false) - tells component not to render in deferred, if set to true works as expected;
Works as expected if "Main Camera" component "Weapon Renderer (Script)" is disabled.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Source Image property gets set to 'None' when using a specific Sprite and Play mode is entered
- Rendering locks up when not looking at a transparent material on Meta Quest 2
- Volumetrics break when using a Custom Pass to create a Thickness Buffer for Alpha Clipping
- All tests are run instead of only the failed ones when the "Rerun Failed" button is pressed
- GameObject is not masked when the "Render PostProcessing Effects" pass executes with a resolved non-MSAA Color target and MSAA DepthStencil target
Add comment