Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question VFX Graph does not work in the build, but works in the editor. What to do?

Discussion in 'Visual Effect Graph' started by Lucia_Nort, Dec 5, 2023.

  1. Lucia_Nort

    Lucia_Nort

    Joined:
    Mar 8, 2019
    Posts:
    2
    Hi! I have a problem. What doesn't really work on the VFX graph in the build when everything works in the editor. And the problem is only on this scene. I tried to do both in URP and HDRP, nothing helps. It just doesn't work, that's all. There were no errors in the console. This is a VR project. Although the problem is visible on the monitor without a VR connection. The Unity version is 2022.3.14f1.

    The picture without effects is what it looks like in the build изображение_2023-12-05_191356348.png изображение_2023-12-05_191408872.png
     
  2. Qriva

    Qriva

    Joined:
    Jun 30, 2019
    Posts:
    1,225
    It might help if you provide a bit more details :)
    Is that vfx graph in general or just this one effect? If this one, then how it looks like?
    You said it's VR, but also that there is problem on normal PC build, correct? in addition you mentioned the scene, does that mean vfx works if you load other scene asset?
    Do you use addressables?
     
  3. Lucia_Nort

    Lucia_Nort

    Joined:
    Mar 8, 2019
    Posts:
    2
    The photo showed 2 effects, fog and fire. There are also effects of the magic of music on stage. None of the effects work. But on the menu scene where there is a fog effect, everything works and only on the photo scene. Doesn't work on normal PC build either. I didn't use addressables