Search Unity

Error: Having more than one VFXResources in your project is unsupported

Discussion in 'Visual Effect Graph' started by cloverme, Aug 31, 2021.

  1. cloverme

    cloverme

    Joined:
    Apr 6, 2018
    Posts:
    198
    Just started getting this error after updating to 2020.3.17f1 from 2020.3.13f1. My project only has 1 instance of "VFXResources" that I can find anyway, located in "Library\PackageCache\com.unity.visualeffectgraph@10.6.0\Editor\Utils"
     
    Wolvenmoon and hjonersjr like this.
  2. Wolvenmoon

    Wolvenmoon

    Joined:
    Sep 15, 2018
    Posts:
    5
    Same. Anyone figured this out, yet?
     
  3. solkyoshiro

    solkyoshiro

    Joined:
    Aug 25, 2021
    Posts:
    27
    Having this issue in 2021 LTS, did anyone get a resolution to this?
     
  4. Vita-

    Vita-

    Unity Technologies

    Joined:
    Jul 2, 2019
    Posts:
    121
    Hey, I have tried reproducing this by creating either VFXResources scripts, folders and upgrading/downgrading version, but error did not occur. Do you mind describing how you were able to reproduce the issue so we could look into it? Or log a bug yourself?

    Cheers,
     
  5. Spikebor

    Spikebor

    Joined:
    May 30, 2019
    Posts:
    281
    @solkyoshiro Hi, just got this error today.
    The error is easy to understand, when visit the code you will see
    Code (CSharp):
    1.             if (AssetDatabase.FindAssets("t:VFXResources").Length > 1)
    2.  
    That means if your project have more than one asset "t:VFXResources" (you can use this query to find them in the search box

    upload_2022-11-18_11-4-14.png

    And delete them until you have only 1 left.
    I got 2 because 2 assets from the store bundle 1 VFXResources file into their asset.
    You can delete, keep one left no problem.
    Hope this helps.
     
    borgstation and insoluzioni like this.
  6. insoluzioni

    insoluzioni

    Joined:
    Nov 25, 2018
    Posts:
    6
    Thank you! IT worked!
     
    Spikebor likes this.