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. Dismiss Notice

Bug visual effect is not showing in editor on play()

Discussion in 'Visual Effect Graph' started by yupengfei, Jun 3, 2023.

  1. yupengfei

    yupengfei

    Joined:
    Nov 10, 2017
    Posts:
    7
    upload_2023-6-3_22-50-7.png
    After click the play() button, nothing happens. But visual effect show on play mode.
    upload_2023-6-3_22-51-36.png

    Also works well in inspector.
    upload_2023-6-3_22-52-21.png

    Unity version 2022.3.0f1 and Visual Effect Graph version 14.0.7.

    There comes warnings such as
    Shader warning in '[WeaponTrail] [System] OutputUpdate': Extra space between '\' and newline. at kernel CSMain at VFXCommon.hlsl(204)
    But I think it is another bug.
     
  2. Qriva

    Qriva

    Joined:
    Jun 30, 2019
    Posts:
    1,108
    Do you have vfx enabled in scene window?
    upload_2023-6-3_17-2-42.png
     
  3. yupengfei

    yupengfei

    Joined:
    Nov 10, 2017
    Posts:
    7
    upload_2023-6-3_23-43-45.png
    Yes, I tried to create a new clean project with urp template, and it just not work
     

    Attached Files:

  4. Qriva

    Qriva

    Joined:
    Jun 30, 2019
    Posts:
    1,108
    If this is default constant spawn rate system, then perhaps this is bug.