Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug VFX Graph with custom shader only renders 1 particle in VR

Discussion in 'Visual Effect Graph' started by peaj_metric, Sep 12, 2022.

  1. peaj_metric

    peaj_metric

    Joined:
    Sep 15, 2014
    Posts:
    131
    Using the new "VFX graph support" option in a custom shader instead of the (deprecated) dedicated VFX target breaks the particle rendering in VR.

    Green (left) graph is using the deprecated method.
    Red (right) graph is using the new flag.

    upload_2022-9-12_14-29-4.png

    As you can see shadows are rendered correctly. But only one particle is rendered at a time.
    I suppose the new "VFX graph support" flag together with VR somehow breaks particle instancing.

    I just reported a bug for the issue https://unity3d.atlassian.net/servicedesk/customer/portal/2/IN-16383

    Meanwhile is there any workaround I could try?
    I really need the vertex shader support.
     
  2. peaj_metric

    peaj_metric

    Joined:
    Sep 15, 2014
    Posts:
    131
    PaulDemeulenaere likes this.