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.

Bug VFX invisible until opened in the inspector

Discussion in 'Visual Effect Graph' started by Telhurin, Sep 19, 2022.

  1. Telhurin

    Telhurin

    Joined:
    Feb 8, 2015
    Posts:
    10
    For some time we are struggling with a few VFX's constantly going invisible and throwing exceptions ("VFX Graph Value of name 'x' was not found) while trying to change its properties on runtime.

    We've tried rebuilding them with "Edit/Visual Effects/Rebuild and Save all Visual Effects Graph" but that does not seem to do the trick. The only way to make them visible is to open them in inspector - and that helps only until the editor is restarted. It happens only to a few effects and on a wide range of devices, both in the editor and after it was built.

    I was able to reproduce it on a clean 2020.3.10f URP project. The unity package contains a faulty Graph that will be invisible after importing it and will work only after it's been clicked twice.

    Is there anything we are missing here, some obvious defect preventing this VFX from saving correctly? Or even a hidden command to just recompile them before the build? Thank you in advance ^^!


    upload_2022-9-19_12-9-30.png upload_2022-9-19_12-10-10.png
     

    Attached Files:

    Last edited: Sep 19, 2022