Search Issue Tracker

Fixed

Fixed in 2022.2.16f1, 2023.1.0b13, 2023.2.0a11

Votes

0

Found in

2022.2.9f1

2023.1.0b7

2023.2.0a6

Issue ID

UUM-29387

Regression

Yes

[VFX Graph] Having Sphere or Cube Output in the scene results in shader errors snd build failure when building player

--

-

How to reproduce:
# Import the attached Test-02 package to the HDRP project
# Build 201.b_SimpleLitOutputs_HDRP scene
# Observe that build fails and there are errors thrown to the console

Expected result: Build succeeds and there are no errors thrown coming from Sphere or Cube Outputs

Actual result: Build fails and shader errors are thrown to the console

 

Shader error in 'Hidden/VFX/LitOutputs - MaskMap/System (1)/Output Particle HDRP Lit Sphere': Program 'frag', error X8000: D3D11 Internal Compiler Error: Invalid Bytecode: Interpolation mode for PS input position must be linear_noperspective_centroid or linear_noperspective_sample when outputting oDepthGE or oDepthLE and not running at sample frequency (which is forced by inputting SV_SampleIndex or declaring an input linear_sample or linear_noperspective_sample).  at line 2109 (on metal)

Shader error in 'Hidden/VFX/LitOutputs - Simple Lit - All/System (1)/Output Particle HDRP Lit Cube': undeclared identifier 'VFXComputePixelOutputToNormalBuffer' at line 1984 (on metal)

!image-2023-03-08-13-11-30-150.png!

 

  1. Resolution Note (fix version 2023.1.0b13):

    Fix has landed and been verified as working on 2023.1.0b13.

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.