Search Issue Tracker

Fix In Review

Fix In Review for 6000.0.73f1, 6000.3.13f1, 6000.4.2f1, 6000.5.0b3, 6000.6.0a2

Votes

0

Found in

6000.0.69f1

6000.3.10f1

6000.4.0b11

6000.5.0a8

6000.6.0a1

Issue ID

UUM-135889

Regression

Yes

GrabPass does not correctly set the rect size when set up with a camera.SetTargetBuffers() instead of a render texture in DirectX11

DirectX11

-

How to reproduce:
1. Extract and open the attached “IN-135670.zip“ project
2. Open the Assets/Scenes/SampleScene.unity scene
3. Right-click on the “Game“ tab
4. Click on “Load RenderDoc”
5. Select the “TestObject” GameObject in the Hierarchy
6. Navigate to the Inspector tab
7. Enable the “This Works (Script)“ component
8. Disable the “This Does Not Work (Script)“ component
9. Enter Play mode
10. In the Game View, click on the Camera icon
11. Open the RenderDoc application
12. In the “Event Browser”, search for "CopySubresourceRegion(_BackgroundTexture, WorldRenderTarget)" (Make sure to paste it in with the quotes)
13. Expand all the collapsed entries until you find "CopySubresourceRegion(_BackgroundTexture, WorldRenderTarget)" and select it
14. In the “API Inspector”, expand all the entries
15. Observe the “pSrcBox” values
16. Navigate back to Unity Editor
17. Disable the “This Works (Script)“ component
18. Enable the “This Does Not Work (Script)“ component
19. Repeat steps 9-15

Actual result: “pSrcBox” “right” value is blank, and “top“ value is not
Expected result: “pSrcBox” “top“ value is blank, and “right“ is not

Reproducible with: 6000.0.64f1, 6000.0.70f1, 6000.3.10f1, 6000.4.0b11, 6000.5.0a8
Not reproducible with: 6000.0.63f1

Reproducible on: Windows 11
Could not reproduce on: No other environment tested

Note: No entry for “CopySubresourceRegion(_BackgroundTexture, WorldRenderTarget)“ in other Graphics APIs

  1. Resolution Note:

    Fixed in 6000.6.0a2

  2. Resolution Note (fix version 6000.6.0a2):

    Fixed in 6000.6.0a2

  3. Resolution Note (fix version 6000.5.0b3):

    Fixed in 6000.5.0b3

  4. Resolution Note (fix version 6000.4.2f1):

    Fixed in 6000.4.2f1

  5. Resolution Note (fix version 6000.3.13f1):

    Fixed in 6000.3.13f1

  6. Resolution Note (fix version 6000.0.73f1):

    Fixed in 6000.0.73f1

Add comment

Log in to post comment

All about bugs

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