Search Issue Tracker

Won't Fix

Votes

1

Found in

2021.3.12f1

2022.1.21f1

2023.1.0a17

Issue ID

UUM-20624

Regression

Yes

Rendering artifacts with custom shader when using Vulkan for Android and DirectX for the Editor

--

-

Reproduction steps:
1. Open the user’s attached project “reproproject”
2. Open the /Assets/Crest/Crest-Examples/Main/Scenes/main.unity Scene

Expected result: There are no artifacts in the Scene
Actual result: The artifacts appear in the Scene

Reproducible with: 2021.3.12f1, 2022.1.21f1, 2022.2.0a4, 2023.1.0a17
Not reproducible with: 2022.2.0a5, 2022.2.0b13, 2023.1.0a16
Could not test with: 2020.3.41f1 (UnderwaterMaskPassURP.cs(25,47): error CS0117: 'RenderPassEvent' does not contain a definition for 'BeforeRenderingPrePasses')

Reproduced on: Windows 10 Enterprise 21H2

Notes:

* Artifacts appear in the Scene when the Windows Graphics API (need to switch to the PC Standalone platform) is set to Direct3D11 and the Android Graphics API is set to Vulkan. If both are set to Vulkan then no issues occur

  1. Resolution Note:

    This seems a third-party issue in FXC.
    Workaround is provided by user and issue can be fixed by changing `lerp(a, b, 1 - w)` to `lerp(b, a, 1)` fixes it.

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.