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.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Bug [VFX Graph][Shader Graph][URP]Only one particle is drawn at a time in Single Pass Instanced

Discussion in 'Visual Effect Graph' started by yotiky, Feb 21, 2022.

  1. yotiky

    yotiky

    Joined:
    Feb 21, 2018
    Posts:
    2
    Verification Environment
    - Unity 2021.2.8f1
    - Visual Effects Graph 12.1.3
    - Shader Graph 12.1.3
    - XR Plug-in Management : MockHMD

    Problem
    When using VFX Graph and Shader Graph in a URP project, only one particle is drawn at a time in Single Pass Instanced environment.
    スクリーンショット 2022-02-21 182255.png

    Supplement
    The problem does not occur in URP + Multi Pass or HDRP + Single Pass Instanced.

    Reproduction Procedure
    1. create a URP project
    2. create the Shader Graph
    3. Create VFX Graph
    4. Change to Output Particle Mesh and set the Shader Graph created in step 2.
    5. Set XR Plug-in management to MockHMD, and select Single Pass Instanced.
    6. play Unity

    Translated with www.DeepL.com/Translator (free version)

    ---
    検証環境
    - Unity 2021.2.8f1
    - Visual Effects Graph 12.1.3
    - Shader Graph 12.1.3
    - XR Plug-in Management : MockHMD

    問題
    URPのプロジェクトでVFX GraphとShader Graphを使用した場合、Single Pass Instancedの環境では、パーティクルが1個ずつしか描画されない。

    補足
    URP + Multi Pass、HDRP + Single Pass Instanced では問題が発生しない。

    再現手順
    1. URPプロジェクトを作成する
    2. Shader Graph を作成する
    3. VFX Graph を作成する
    4. Output Particle Mesh に変更して、2で作ったShader Graphを設定する
    5. XR Plug-in management をMockHMDにして、Single Pass Instancedを選択する
    6. Unity を再生する
     
  2. yotiky

    yotiky

    Joined:
    Feb 21, 2018
    Posts:
    2
    Published in Issue Tracking. Please vote for the issue.
     
    PatHightreeXVR and Vita- like this.
unityunity