Search Issue Tracker

By Design

Votes

7

Found in

5.6.0b3

Issue ID

869010

Regression

No

Missing vertex function overload when using tesselation function in Surface shader

Shaders

-

When using a tessellation function, surface shaders will not allow the override of the custom vertex function which provides support for passing values over the surface function.

To reproduce:
1. Open attached project
2. Compile both shaders

Actual: Observe 'Shader error in 'Test/Nope': 'VS': no matching 1 parameter function at line 238 (on d3d11)' after compiling TestNope shader
Expected: When using a tessellation function, surface shaders should allow the override of the custom vertex function

Reproducible: 5.4.4p1, 5.5.1f1, 5.6.0b6

Comments (4)

  1. anselmkegel

    May 30, 2018 17:06

    Resolved with "By design"? What the heck?!?! How can this deficiency be desired behaviour? Is there at least a way to work around it?

  2. NeuroGames

    Sep 22, 2017 07:11

    This one is really *ahem* bugging me

  3. Howard-Day

    Jun 24, 2017 07:27

    This is definitely one that's killing me right now. :/

  4. varfare

    Apr 23, 2017 17:15

    This bug is really old, I think I've first encountered in Unity 4.6 or so. This is very limiting for all surface shader users.

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.