Description

Input Key Selector's Set Text Style does not change Text Style when given Text Style Variable

Steps to Reproduce

Project Has been attached for easier repro. [Link Removed]

  1. Create a new Blank Blueprint Project in UE 4.24
  2. From the content browser, right click and create a new user widget Bp_Test.
  3. In the Designer window of this UMG, search the palette for an Input Key Selector and add it to the canvas. 
  4. Navigate to the Graph Tab of this UMG.
  5. Create a new variable of type Text Block Style, compile and change the font and color to a value of your choosing.
  6. Get a copy of your Input Key Selector, and drag off to use it's set Text Style Method.
  7. From the Event Construct Execution Pin, connect to the Set Text Style Method.
  8. Drag a copy of your Text Block Style Variable and plug it into the Text Style Parameter for the Input Key Selector's Set Text Style Method.
  9. Compile & Save
  10. Navigate to the level blueprint, and off of begin play->Create BP_Test Widget.
  11. Set the Owning Player to Get Player Controller.
  12. Add the Widget to Viewport, connect the Return Value.
  13. Compile & Save.
  14. Press PIE.

 

Result:  Input Key Selector does not change font or color style.

Expected: Input Key Selector changes font, or color style.

 

Have Comments or More Details?

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

4
Login to Vote

Won't Fix
ComponentUE - Editor - UI Systems
Affects Versions4.234.24
CreatedFeb 6, 2020
ResolvedAug 31, 2021
UpdatedAug 31, 2021
View Jira Issue