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.

VFX Instantiate as prefab

Discussion in 'Visual Effect Graph' started by danteson, Aug 27, 2021.

  1. danteson

    danteson

    Joined:
    May 3, 2013
    Posts:
    51
    Ive been looking all over the internet, cant find info on that.
    Im trying to instantiate VFX as prefab, it works but even small ammount of particles gives me intense lag.
    In VFX editor its fine though.
    I want my arrows to explode everything worked well with normal particle system but after i replaced it with VFX new explosion it started giving me huge lags.
    Am i doing it wrong?
     
  2. chemicalcrux

    chemicalcrux

    Joined:
    Mar 16, 2017
    Posts:
    382
    Does it lag if you just drag a bunch of copies of the prefab into the scene and then hit play?

    That'll tell you if there's some kind of problem with instantiating them at runtime.