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 Graphs keep recompiling

Discussion in 'Visual Effect Graph' started by DigitalChaotics, Jan 21, 2023.

  1. DigitalChaotics

    DigitalChaotics

    Joined:
    Dec 18, 2013
    Posts:
    25
    My VFX graphs get recompiled any time I modify the Unity project. Anytime I hit "Save", I get to spend the next 7 minutes waiting...

    This is a new behavior, appearing in 2022.2.2f1. Definitely not acceptable.

    Is my configuration wrong, or is this a bug?

    -

    Update #1: I clicked on a Material (w/custom shader) in the Project view. Boom. All shaders & graphs recompile.

    Update #2: I added a component to a GameObject. The component has no VFX dependencies. Boom.

    Update #3: Still exists in 2022.2.3f1

    -

    Last Edit: I realize that this is a crap bug report. The steps to reproduce are so random that it's just... ...well, I guess I just didn't want you all to think you'd "fixed" the recompile issues.
     
    Last edited: Jan 24, 2023
  2. Vita-

    Vita-

    Unity Technologies

    Joined:
    Jul 2, 2019
    Posts:
    111
    Hey, that sounds really frustrating :( Regarding the updates section you wrote, it's really odd that something that doesn't have VFX dependencies can cause VFX recompilation. I've been working on a fairly large test project recently, but haven't observed anything similar (it would lead to around 1 hour of recompilation, in this specific case, ouch!). That being said, do you mind reporting a bug and sharing its number here? I'll keep an eye out, and if it's valid, I'll forward it to our engineers to investigate further.