Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

VFX Graph path not found on instantiation

Discussion in 'Graphics Experimental Previews' started by Roldo, Mar 29, 2019.

  1. Roldo

    Roldo

    Joined:
    Oct 25, 2014
    Posts:
    15
    I encountered a bug when if i instantiate an object that has an attached vfx graph on runtime, vfx graph fails to find path to the graph asset and does not load. I have no idea how to fix it so if anyone knows, id appreciate help.
     
  2. JotaRata

    JotaRata

    Joined:
    Dec 8, 2014
    Posts:
    20
    I am experiencing a similiar issue when instantiating a prefab with a VFX Graph and the VFX Parameter Binder which losts all of its data, making impossible to bind parameters with created objects in runtime
     
  3. VladVNeykov

    VladVNeykov

    Unity Technologies

    Joined:
    Sep 16, 2016
    Posts:
    31
    Hi Roldo,
    If I understand you correctly, simply instantiating a prefab with a VisualEffect Graph attached to it is instantiating it for you without the VFX Asset being assigned to the Visual Effect Component?

    If so, I am unable to reproduce your issue:


    Can you give us some more info (unity/vfx package version), or even better, a small repro project so we can check it out?

    Many thanks!