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

    MuttonYung

    Joined:
    Aug 24, 2021
    Posts:
    4
    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.
    https://assetstore.unity.com/packages/vfx/particles/vfx-graph-stylized-smoke-vol-1-207694

    1. After installing the package and VFX graph, the vfx prefabs show nothing.
    upload_2024-4-10_15-16-22.png

    2. Only after I hit "edit" and open the vfx graph editor, it emits particles.
    upload_2024-4-10_15-18-40.png
    But the particles look weird.
    upload_2024-4-10_15-18-11.png

    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.
    upload_2024-4-10_15-19-16.png

    4. Alright, these can be fixed and the vfx works as expected.
    upload_2024-4-10_15-21-13.png

    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.
    upload_2024-4-10_15-16-22.png
    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

    MuttonYung

    Joined:
    Aug 24, 2021
    Posts:
    4
    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.