Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

6.9.1, 6.9.2

Issue ID

1204946

Regression

Yes

[HDRP] Unable to toggle Motion Vector for Vertex Animation in Material created from .shader files

Package: Scriptable Render Pipeline HD

-

Reproduction steps:
1. Create a new HDRP Template project
2. Create an HDRP Lit Shader Graph (.shadergraph)
3. Create a new Standard Surface Shader (.shader)
4. Copy Lit Master Generated code into previously created Standard Surface Shader
5. Create a Material from the Standard Surface Shader
6. Try toggling "Motion Vector For Vertex Animation" option on the Material

Expected result: the option toggles like it would in a Material created from original Lit Shader Graph
Actual result: you are unable to toggle the "Motion Vector For Vertex Animation" option

Reproducible with: HDRP 6.9.2 (2019.2.18f1), HDRP 7.1.7 (2019.3.0f5, 2020.1.0a19)
Not reproducible with: HDRP 4.10.0 (2018.4.15f1), HDRP 6.9.0 (2019.2.18f1)

Notes:
1. This reproduces with HDRP StackLit, Fabric, Eye Shader Graphs
2. I was not able to find any other option that would behave this way. For all other options/Shaders if the option is visible, then it is possible to toggle it just like in the original Shader
3. This is a Package regression. The issue does not reproduce with HDRP 6.9.0 but reproduces with higher versions of HDRP (tested 2019.2.0b10, 2019.2.18f1)

  1. Resolution Note:

    The UI of Material and Shader Graph are setting up various thing like Render State and Pass State.
    In the case of Motion Vector: Motion Vector Pass on the Shader would need to be enabled for it to work with vertex animation.
    This is handled correctly when using the regular workflow.

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.