Inconsistent GPU capture button in new ToolMenusViewportToolbars

When using both RenderDoc and Pix, the new toolbar randomly shows only one capture button:

[Image Removed]

[Image Removed]

The old toolbar used to show both buttons. And interestingly if I enabled both toolbars, both showed both buttons.

[Image Removed]

Unfortunately on the main branch it seems the old toolbar doesn’t work anymore.

Steps to Reproduce
1) Use the new toolbar and enable both RenderDoc and Pix:

ToolMenusViewportToolbars=2

renderdoc.AutoAttach=True

-AttachPix

2) Launch the editor. The toolbar will randomly show either Pix or RenderDoc capture icon, but never both.

Thank you for reporting this! This will be fixed in an upcoming release.