Search Issue Tracker

Fixed in Unity 2017.2

Votes

0

Found in

5.6.0b7

Issue ID

879378

Regression

No

[Graphics] CommandBuffer.Blit() writes to the first Depth Slice of a 3D render target, regardless of the depthSlice parameter

Graphics - General

-

-

Priority: 7Not yet prioritized for a release

-

Severity: 3Workaround is possible

Reproduction steps:
1. Open the attached project
2. Enter Play mode

Result:
The cube on the left uses Graphics.Blit() which DOES NOT ignore the depthSlice parameter, hence the cube is rendered correctly
The cube on the right used CommandBuffer.Blit() which DOES ignores the set depthSlice parameter, therefore it only renders to the first depthSlice

Reproducible on: 5.6.0b1, 5.6.0b8

Couldn't reproduce on an earlier version, because Unity crashes on entering Play mode

Tested on Windows 10

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.