Search Unity

Feedback Adding/Removing/Modifying properties is very very slow

Discussion in 'Shader Graph' started by alexanderameye, Dec 27, 2019.

  1. alexanderameye

    alexanderameye

    Joined:
    Nov 27, 2013
    Posts:
    1,383
    I am working on a complex graph with several nested subgraphs, around 50 properties and a decent amount of nodes.

    I know these are a lot of properties, but interacting with them has gotten so so slow. When I want to add a new property, shader graph hangs for several seconds (maybe 4 or 5) before adding it. Otherwise performance seems good (moving, connecting nodes).
     
    Alienpope and Korindian like this.
  2. Korindian

    Korindian

    Joined:
    Jun 25, 2013
    Posts:
    584
    It's getting close to unusable for me with a large graph. Not only modifying properties is slow, pressing play with the shader graph window open causes an even longer editor freeze before playmode starts.

    I created a stripped down version and filed a bug report:

    Case # 1209047
     
    JotaRata and alexanderameye like this.
  3. Korindian

    Korindian

    Joined:
    Jun 25, 2013
    Posts:
    584
    konsic likes this.
  4. Korindian

    Korindian

    Joined:
    Jun 25, 2013
    Posts:
    584
    Hoping Unity Shader Graph devs can take a look at this before 2019.3 ships.
     
  5. Alienpope

    Alienpope

    Joined:
    Jan 4, 2016
    Posts:
    20
    Similar problem here except when i create a property shader graph freezes indefinitely. The only thing that un-freezes it is going in and out of play-mode. So each time i create a property i have to play, exit play, create property, play, exit play etc etc. Very slow and frustrating process.
     
  6. Korindian

    Korindian

    Joined:
    Jun 25, 2013
    Posts:
    584
  7. alexandral_unity

    alexandral_unity

    Unity Technologies

    Joined:
    Jun 18, 2018
    Posts:
    163
    Hi, we are investigating it. The issue goes beyond just our code source so we're working with other teams to try and resolve it. We understand it's important but we can't give an estimate on when we'll have a solution.
     
    Korindian likes this.
  8. Korindian

    Korindian

    Joined:
    Jun 25, 2013
    Posts:
    584
    Thank you so much for replying! Great to know this is being investigated.