Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

no DrawAdditionalFoldouts in BaseShaderGUI?

Discussion in '2021.2 Beta' started by m4robb, Jul 5, 2021.

  1. m4robb

    m4robb

    Joined:
    Aug 2, 2017
    Posts:
    38
    is 2021.2 missing this method (DrawAdditionalFoldouts) in the base shader, or has it been replaced with something else? I can see it in URP 12, although its there up to URP 11. thanks
     
    pojoih likes this.
  2. pojoih

    pojoih

    Joined:
    Mar 30, 2013
    Posts:
    226
    Searching for this too, as Advanced Dissolve Asset is not working anymore. There's nothing in the Changelog and the Upgrade Guide, which is a shame documentation wise.
    Shouldn't there be a place for (asset) developers to look up such things?
     
  3. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Thanks for flagging this. I've reached out to the devs and something seems to have gone wrong here. It's being looked into.

    For now, you have to call
    Code (CSharp):
    1. public virtual void FillAdditionalFoldouts(MaterialHeaderScopeList materialScopesList) {}
     
    pojoih likes this.
  4. masterahuck

    masterahuck

    Joined:
    Sep 10, 2015
    Posts:
    95
    Any ETA on when the bug will be fixed?
     
    lclemens likes this.