Description

Labels for buttons added to the Level Editor Toolbar from the Editor Utility Tool Menu Entry blueprint do not appear in the toolbar. This functionality did exist in 4.26/4.27 but no longer seems to be working as of 5.0. I was able to reproduce this issue 5/5 times in both 5.0 and 5.1.

A possible "workaround" is for the user to enter text in the Tool Tip field that will display when hovering over the added button, giving them information on what the button does.

Steps to Reproduce
  1. Open or create a 5.1 Project
  2. Right click in the Context Browser
  3. Select Editor Utilities > Editor Utility Blueprint
  4. In the Pick Parent Class window, expand All Classes
  5. Search for and select "EditorUtilityToolMenuEntry"
  6. Double click the newly created Editor Utility Blueprint to open and edit it
  7. Right click in the Event Graph and add a Custom Event - name it Run
  8. Drag from the Custom Event output pin and add a Get node (under Tool Menus)
  9. Drag from the Return Value pin on the Get node and add a "Add Menu Entry Object" node
  10. Drag from the "Menu Entry Object" pin on the Add Menu Entry Object node and add a Self node
  11. Click on Class Defaults in the Editor Utility Blueprint toolbar to bring up the Class Defaults in the Details panel
  12. Set the following fields to the corresponding values:
    1. Menu = LevelEditor.LevelEditorToolBar.User
    2. Section = Game
    3. Name = Test
    4. Label = Button Name
    5. Style Set Name = EditorStyle
    6. Style Name = Profiler.EventGraph.RenderThread
    7. Entry Type = Tool Bar Button
  13. Compile and Save the Editor Utility Blueprint
  14. Right click on the Editor Utility Blueprint in the Content Browser and select "Run Editor Utility Blueprint"

Result: A gear icon appears in the Editor Toolbar next to the Platforms drop down.

Expected: A gear icon appears in the Editor Toolbar with a Label that reads "Button Name" next to the Platforms drop down.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-170850 in the post.

1
Login to Vote

Unresolved
ComponentUE - Editor - UI Systems
Affects Versions5.05.1
Target Fix5.2
CreatedNov 22, 2022
UpdatedNov 23, 2022