Search Issue Tracker
Fixed
Votes
6
Found in
5.5.0p4
Issue ID
871681
Regression
No
Mesh is being drawn twice per material when using custom shader
To reproduce:
1. Open attached project;
2. Open "testScene";
3. Enable Frame Debug.
Expected result: mesh is being drawn once when custom shader is used.
Actual result: mesh is being drawn twice when custom shader is used.
Reproduced on versions: 5.3.7f1, 5.4.3p3, 5.5.0p4, 5.6.0b4.
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
- Particle System only collides with one Terrain Collider at a time when Collision Type is set to 'World'
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
josand
Feb 13, 2017 14:01
The problem is that for each material there is one drawcall in the ForwardObjectsToDepth pass, in the example one for the deferred rendered material and one for the forward rendered one, but it should be enough only one for the forward rendering one.
If Forward Rendering is forced for all objects it is right.