Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Resolved VFX graph assets don't work and need fixing manually for every device

Discussion in 'Visual Effect Graph' started by MuttonYung, Apr 10, 2024.

  1. MuttonYung


    Aug 24, 2021
    Hello. I'm facing some problems when using Visual Effect Graph version 12.1.7 and Unity 2021.3.6f1.
    In short, some assets' shader graph is missing, even if I have already fixed it on another computer.

    I'm using a VFX package based on VFX graph.

    1. After installing the package and VFX graph, the vfx prefabs show nothing.

    2. Only after I hit "edit" and open the vfx graph editor, it emits particles.
    But the particles look weird.

    3. That's because the vfx graph is broken ( I don't know WHY ).
    The shader graph in output particle mesh block is missing. The params are disconnected from this block.

    4. Alright, these can be fixed and the vfx works as expected.

    5. I upload the modifications with tortoise SVN.
    But my partner says he can see no smoke at all.
    I open the project on his laptop, and see
    Nothing in vfx prefabs,
    Just like section1, when I open this asset for the first time.
    It looks like that I have to do the things all over again, maybe again and again on other team members' computer.

    So for the first time on a new device those assets just don't work.
    What could be the problem?
    Is there something storing vfx graph modifications not upload by SVN?
    Or vfx graphs really need some kind of "warm up" on a new device?
  2. MuttonYung


    Aug 24, 2021
    Sorry, just found the solvement in package's document.
    I need to open and save the shader graphs in the package so they will be recompiled.
    If open the vfx graphs first they will be broken.