Search Unity

Question Graphics.DrawProceduralIndirect, instancing: Failed to present D3D11 swapchain...

Discussion in 'Shader Graph' started by AG_in_person, May 31, 2023.

  1. AG_in_person

    AG_in_person

    Joined:
    Jul 3, 2018
    Posts:
    5
    Hello.
    When using
    Graphics.DrawProceduralIndirect
    in combination with Shader Graph according to this solution:
    https://answers.unity.com/questions/1877154/urp-shader-graphs-with-instanced-indirect-instance.html,
    I got to see the expected result exactly once, for one second. Then Unity crashed with an error window which can be seen in the below image link. Afterwards, I had to reboot in order to reproduce the issue.

    https://drive.google.com/file/d/1oTiJLe7lQJ5ghA_hP28r0oz7Vxbat02i/view?usp=sharing

    Who had similar experiences?
    Thanks!
     
  2. AG_in_person

    AG_in_person

    Joined:
    Jul 3, 2018
    Posts:
    5
    Solved:
    Something in my buffer (StructuredBuffer) allocation was not right. So I guess that messages like the one mentioned seem to be the result of any kind of crash (exception, segmentation fault, ...) taking place on the GPU.
    Greetings.