x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

4.17.1 Binding content to Text UI widgets do not work in standalone game (works editor and in 4.16.3)

Pardon that I am still fairly new to developing with Unreal 4 but I'm pretty sure this is a bug I've encountered between versions. My tests show clear differences in behavior between 4.17 and 4.16 show there is a difference in behavior.

I'm experiencing that binding text UI widgets, when trying to dynamically change the displayed strings, works in editor but not when I try in the "standalone game" play option.

I've simplified my larger project into this easy reproducible scenario. It is unclear if there are any other binding issues as this was the only scenario I've tried.

Repro Steps:

  1. Create a new empty project with 4.17.1

  2. Create a new asset User Interface > Widget Blueprint

  3. Edit the new widget and drop a Simple Static Text Widget into the CanvasPanel

  4. Of the Text widget name the Content>Text "Test Block" (or anything really); alt text

  5. Created a binding for Content>Text; open the graph and set the text to "Changed" (or anything different) as the node output. alt text

  6. Create and save an empty map to use.

  7. Open the Level Blueprint for the map.

  8. In the blueprint: From 'Event BeginPlay' link up the following nodes: Create Widget (Set the class to the Test widget asset that was created); Then create a Add to Viewport node wired off the result of Create Widget taking the return value of Create Widget as the Target object. alt text

  9. Save all and play editor... Observe the text displays as "Changed" alt text

  10. THE BUG: Play in Standalone Game... Observe the text is blank, presumed output as an empty string. alt text

  11. To validate it is a problem with binding, unlink the binding... Observer the text does display the original text in the Play in Standalone game.

  12. Repeat steps 1-10 with version 4.16.3... Observer there is no bug at step 10 on the older Unreal Engine version; "Changed" is displayed as expected.

Actual Results: UI text widgets content bound in 4.17 do not display in Standalone games; but do correctly in 4.16

Expected Results: Behavior is identical between 4.17 and 4.16; all text binding set and display the expected output in standalone builds.

Product Version: UE 4.17
Tags:
step5.png (21.3 kB)
step8.png (50.6 kB)
step9.png (115.9 kB)
step10.png (161.9 kB)
step4.png (22.0 kB)
more ▼

asked Sep 05 '17 at 12:28 AM in Bug Reports

avatar image

MidknightDev
6 1 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi MidknightDev:

Thank you for your report. I was able to reproduce the issue in 4.17.1 and did notice that it is not present in 4.16.3. I have logged the issue, which you can track through this link: https://issues.unrealengine.com/issue/UE-49348

Let me know if there is anything else that I can help you with.

Sincerely,

Natalia

more ▼

answered Sep 06 '17 at 03:50 PM

avatar image

Natalia Q ♦♦ STAFF
565 2 3 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question