Search Issue Tracker

By Design

Under Consideration for 2023.2.X

Votes

0

Found in

2023.2.16f1

6000.0.0b13

Issue ID

UUM-67722

Regression

Yes

Custom GrabPass does not work when Material's Surface Type is Transparent

-

How to reproduce:
1. Open the “1804669_bug“ project
2. Open the “SampleScene“
3. Observe the GameView

Expected result: Both “Cube(O) and Cube(T)“ GameObjects are distorted
Actual result: GameObject “Cube(T)“ is not distorted

Reproducible with: 2023.2.0a18, 2023.2.16f1, 6000.0.0b13
Not reproducible with: 2022.3.22f1, 2023.2.0a17
Could not test with: 2021.3.36f1 (errors)

Reproducible on: Windows 10
Not reproducible on: No other environment tested

  1. Resolution Note:

    Hi, we looked into the project. The transparent pass is wrongly merged into the previous grabpass due to missing ConfigureTarget call.
    The proper fix is to add the following call to GrabPass.cs line62, within the Configure call. This should prevent the merging.
    >> ConfigureTarget(_destination);

    Based on our investigation, we close this case as by design. Please you have further question, please feel free to reopen and provide more details. Thanks

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.