Search Unity

Terrain instancing incompatible with tessellation/surface shaders [1111579]

Discussion in '2019.1 Beta' started by jbooth, Dec 26, 2018.

  1. jbooth

    jbooth

    Joined:
    Jan 6, 2014
    Posts:
    3,330
    Had texture arrays not been broken through the entire 2018.3 beta, I might have caught this earlier. But basically the new instancing system used for terrain is incompatible with surface shader tessellation. It will complain that the input (inout) parameter to the displacement function is not fully initialized, because the instance ID is not initialized before being passed to this function.

    Bug id: 1111579