Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug A17 Shader/Texture Errors:

Discussion in '2022.2 Beta' started by Freakish, Jun 26, 2022.

  1. Freakish

    Freakish

    Joined:
    Jun 3, 2015
    Posts:
    84
    In versions A13/16/A17.... I get a constant red error spamming my console.

    "DX11: Texture index out of range"

    Unfortunately it doesn't have any other information, clicking on it does nothing, and doesn't give me a reference to anything that may be causing it.

    In version A17, I also get the following additional console error:

    ["Shader error in 'Shader Graphs/DigitalHuman_Skin': Internal error communicating with the shader compiler process. Please report a bug including this shader and the editor log."]

    The DigitalHuman_Skin shader is the same one provided by Unity (Albeit with a few minor tweaks), and works in A16 and A13, and previous Unity versions without issues.

    If I select the shader and click "Compile and show code" Unity hangs, and opens about 20x Unity Shader Compiler exes, all using around 5% CPU, which I have to manually kill in the taskmanager, to regain control of the PC.

    Oddly the Shader works on 1 of the 5 materials on my object.... So for example the Head is showing in the scene without issues, but arms, legs and body using the exact same shader, show the error and are pink.

    Even more odd is that in Game view, they do end up showing as normal, but from scene view and in the material editor they are pink.

    Using HDRP.
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    3,040
    It would be great if you could submit a bug report with this shader.