Skip to content

Second and subsequent Groups do not work , when two or more groups with partially identical names exist. #46

@rngtm

Description

@rngtm

Describe the bug / 描述你遇到的Bug
If two or more groups with partially identical names exist, the second and subsequent groups do not work.

To Reproduce / 复现步骤

  1. Declare following ShaderProperties in the shader.
Properties
{
    [Main(Group_Color, _, off, off)] _groupColor ("カラー設定", float) = 1
    [Sub(Group_Color)] _Stencil ("Stencil", Int) = 0
 
    [Main(Group_ColorSettings, _, off, off)] _groupColorVariation ("カラバリ設定", float) = 1
    [Sub(Group_ColorSettings)] _MainTex ("Texture", 2D) = "white" {}
}
  1. When I click on the second fold, the SubDrawer does not appear.

Here is the bug reproducing movie.

bandicam.2024-02-15.00-11-28-178.mp4

This bug has been reproduced since version 1.12.0 .

Unity Version / Unity版本

  • 2020.3.32f1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions