TabGroup causing excessive CPU/GPU usage

Issue #745 new
Ed Benckert created an issue

What Happened?
Creating an inspector with a TabGroup causes a massive CPU/GPU spike. Even a simple inspector with a single bool inside a single element TabGroup causes this CPU spike.

How to reproduce:

[CreateAssetMenu(fileName = "TestGroup", menuName = "Data/Test", order = 52)]
public class TestGroup : SerializedScriptableObject
{
    [TabGroup("TestTab")] 
    public bool blahblah = true;
}

Screenshot of group with EnumButtons, minmaxslider, custom labels, buttons, ShowIf… CPU use is almost nothing:

Screenshot of the inspector/task manager of the code snippet above:

Unity Version: Unity 2019.4.4f1 Personal

Odin Version: 3.0.3.0

Editor Only Mode: Not enabled.

OS: Windows 10 Pro OS build 19041.685

Comments (1)

  1. Log in to comment