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

ComputeBuffer.SetCounterValue in HDRP is not working

Discussion in 'Graphics Experimental Previews' started by ck_rem, Dec 16, 2018.

  1. ck_rem

    ck_rem

    Joined:
    Jul 13, 2018
    Posts:
    8
    Recently I want to implement GPU Particle System using Append/Consume Buffer,But in HDRP Render Callback ,I use the XXBuffer.SetCounterValue(0),when I debug with RenderDoc, I found the Count is increment,it seem every frame the function is not work,here is my renderdoc's screenshot.


    Who knows why?please give me some help!
    Thank you!
     
  2. ck_rem

    ck_rem

    Joined:
    Jul 13, 2018
    Posts:
    8
    Sorry,I found when I close the Unity ,the bug is fixed...Sorry to bother.