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. ameliasmith8837

    Jul 27, 2020 07:02

    This is such an incredible asset, that you are giving and you part with it for nothing. I love seeing online journal that comprehend the benefit of giving a quality asset to free. By <a href=""></a>

  2. salmanyasin342

    Jun 23, 2020 06:50

    The internet and social media provide young people with a range of benefits, and opportunities to empower themselves in a variety of ways. Young people can maintain social connections and support networks that otherwise wouldn't be possible, and can access more information than ever before. The communities and social interactions young people form online can be invaluable for bolstering and developing young people's self-confidence and social skills.

  3. besmartwork

    Jun 22, 2020 08:34

    Yes, you heard it right; we are selling Instagram followers here in Canada. No more are these the days where Instagram followers were being given in America and United Kingdom only, now we offer you the unique chance to buy Instagram followers in Canada!

  4. seotoolsaccess

    Apr 19, 2020 14:42

    When you're buy TikTok Likes for sale, you're going to be able to find the same great tools that your favorite sellers are selling. They've probably got their own blog, too, so they can give you the same great insider tips. Plus, they'going to give you the knowledge that you need to make more money online, and as a seller, that's something you'll want to be getting from your favorite seller.

  5. seotoolsaccess

    Apr 19, 2020 14:37

    Many successful businesses now are perhaps not Internet focused, but they do sell services and products over the net. With all the expanding recognition of this web, lots of individuals have begun to make use of the expert services of search engine optimisation or search engine advertising companies. Search engine optimization differs from several other types of marketing with SEO Tools Access. This specific form of marketing generally involves a collection of techniques like link building, blogging, content writing, and also social media marketing to help increase a website's rank in the search engine results.

  6. seoseoexperts521

    Apr 01, 2020 15:54

    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 by

  7. seoseoexperts521

    Apr 01, 2020 15:53

    "Shader error in 'MyShader': unable to unroll loop, loop does not appear to ... I can't use a static value in the loop because the wanted effect strictly depends on the ... How to make a shader with large dynamic loops compile under d3d? ... Surface RT) which is oddly sometimes more limited than actual DX9.

  8. eseo14376

    Mar 19, 2020 12:39

    '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 ... by

  9. eseo14376

    Mar 19, 2020 12:38

    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 ... by

  10. uk6

    Mar 17, 2020 15:15

    The Surface Shader language is a more component-based way of writing Shaders. ... There are times when you want to dynamically create textures and modify their ... We then start two for loops that will simply loop through each pixel in the new ... With your Shader compiled and no errors present, you should see a result ... by

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.