Search Unity

Large count of VFXGraphs causing d3d11 errors leading to crashes.

Discussion in 'Visual Effect Graph' started by Lapsapnow, May 23, 2022.

  1. Lapsapnow

    Lapsapnow

    Joined:
    Jul 4, 2019
    Posts:
    51
    Our project is using VFXGraph Particle Strip with GPUEvents on our bullets.

    In builds, it is causing Freezes and crashes.

    Having a substantial amount of these Graphs ( say, 200 ) will cause d3d11 errors ( d3d11: failed to create buffer / d3d11: failed to create 2D texture... ). Leading to either a rapid increase in long freezes / hangs or straight crashes due to Driver timeout.

    Any advise? Other than removing the Graphs of course, we would prefer to keep them!

    Thanks in advance.
     
    Last edited: May 23, 2022
  2. ludovic-theobald

    ludovic-theobald

    Unity Technologies

    Joined:
    Jun 3, 2021
    Posts:
    13
    Hello,
    What version of Unity are you using ?
    If this issue only affects Intel iGPUs, then the fix is already present in recent version, and is currently on its way to 2019.4.

    Thank you, and please let us know if the issue still occurs on newer versions!
     
  3. Lapsapnow

    Lapsapnow

    Joined:
    Jul 4, 2019
    Posts:
    51
    To clarify, the crashes only happen in Builds. The Editor itself is totally fine.

    Unity 2020.3.30f1 with Visual Effect Graph 10.8.1 using URP 10.8.1 and Hybrid Renderer 0.50.0-prev.24 ( for DOTS / ECS 0.50 )
    I'm running an AMD RX 590 GPU, with a 4 Core i5 at 32 GIG RAM

    Thank you, need any more info?
     
  4. ludovic-theobald

    ludovic-theobald

    Unity Technologies

    Joined:
    Jun 3, 2021
    Posts:
    13
    Thank you for your answer. If it's possible for you, please update to the latest 2020.3 version. We fixed a similar looking bug recently, so the issue might be fixed in a more recent version.
    If it still reproduces on a more recent 2020.3 version, please file a bug with a minimal project where the issue appears.