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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Add comment