Search Issue Tracker

Fixed in 5.5.1

Fixed in 5.5.X



Found in


Issue ID




Error when compiling surface shader when dynamic loop depending on WorldNormalVector is present



Steps to reproduce:
1. Open attached project
2. Select "TestShader" in project view
3. Compile shader
Result: error "Surface shader Input structure needs INTERNAL_DATA for this WorldNormalVector or WorldReflectionVector usage" is thrown even though "INTERNAL_DATA" is added to the Input structure
4. Open "TestShader" and comment the for loop - the errors are gone

Reproducible with: 5.3.1f1, 5.4.3p2, 5.5.0f3, 5.6.0a5

Comments (25)

  1. uk6

    Mar 17, 2020 15:14

    Allan Bentham caught the programming bug from an Acorn Electron and since then has had ... developing shader-based demos for embedded devices using OpenGL ES. ... His current research interests include control of graphics rendering as well ... 1.3 Dynamic Terrain Rendering on GPUs Using Real-Time Tessellation. by

  2. seoseoexperts521

    Mar 17, 2020 15:12

    'Switch By Pipeline' node now takes default template and surface into account ... PostProcessStack * Post-Processing shader based on Unity provided example ... shaders will present an error * Final compiled shader will have error ... and HD SRP templates * Fixed dynamically created outputs over shader ...

  3. seoseoexperts521

    Mar 17, 2020 15:11

    Jun 4, 2015 - Shader error in 'Custom/GroundShader': redefinition of '_MainTex_ST' at line 83 (on d3d11). Compiling Vertex program with DIRECTIONAL SHADOWS_OFF ... Physically based Standard lighting model, and enable shadows on all light ... for others to include the error message, so it is found via searching.

  4. seoseoexperts521

    Mar 17, 2020 15:11

    - I read a lot of random stuff about loop unrolling during shader compiling and it seems that it's impossi[url=]followers italy[/url]

  5. sogyze

    Feb 25, 2020 11:11

    An issue of compliance is discussed for the dynamic route for the participants. The access of the is produced for the fitness for the dynamic athletes. Its fundamental way out is explored for the turns. The argument is found for the statement for the sanctity for all strange elements.

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.