Noticed when opening any tab or window view, Unity is calling on average over 375 calls to methods that are causing GC allocations per tab and window opened. On Average each tab is allocating 45 Kilobytes of data during the call to DockArea.OnEnable.
Picture attached is from the profiler. I tested this on a couple projects in Unity 6 preview, but haven’t tested it on older versions yet. Not sure if this is an expected behavior or if this is a bug. I am on Windows 10 at the moment for operating system. If this is not expected behavior I will file a bug report.
The DockArea.OnEnable is called during the Applcation.Message.WM_00111.
