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"

Crash TextData is nullptr when UMG TextWidget is bound

Repro Project Download:

https://drive.google.com/open?id=0B3cNp4c6stYIQ2E2Yng5MGE4SUE

Issue

When adding a custom Widget class to an existing vertical widget box editor will crash with the error "this->TextData.Object was nullptr" if a certain text widget is bound and the resulting bound function modifies the text in any way. Crash will not occur if text is not manipulated in the bound UMG 'get' function.

Call Stack

From production project, not repro project http://pastebin.com/63THDBBw

Steps to Reproduce

Using provided repro project

  1. Open ReproWorld map (should open by default) and ensure "ReproGameMode" is the default overridden GameMode (should be by default).

  2. Play-in-editor, press Shift+F1 to gain a mouse cursor, press the "~TEST CRASH~" button.

  3. Observe project will NOT crash, and will display a chat item in the vertical box to the right of the screen.

  4. Stop PIE and open GUI/ChatTextContainer UMG Widget.

  5. Select the TwitchChat_NameBadge Text Widget under Overlay>[Horizontal Box]

  6. Bind the Text value to "Get_TwitchChat_NameBadge_Text_0"

  7. Return to main editor and repeat step 2

  8. Observe editor crash

Product Version: UE 4.12
Tags:
more ▼

asked Aug 21 '16 at 04:26 AM in Bug Reports

avatar image

JonTerp
10 1 4 6

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

1 answer: sort voted first

Hello JonTerp,

I was able to reproduce this issue and narrow it down further. I have written up a report and I have submitted it to the developers for further consideration. I have also provided a link to the public tracker. Please feel free to use the link provided for future updates. Thank you for your time and information.

Link: https://issues.unrealengine.com/issue/UE-35037

As a note: The issues seems to be cause by using the "Get Text" node to set the binding for the text that is being referenced by the get text node.

Make it a great day

more ▼

answered Aug 22 '16 at 03:28 PM

avatar image

Rudy Q ♦♦ STAFF
47.3k 545 132 525

avatar image JonTerp Sep 07 '16 at 09:46 PM

Hey,

As the issue tracker has this crashed marked as "Won't Fix" can I get an elaboration as to why?

I understand this is easily worked around by not referencing text in the bound function, I'm simply curious.

avatar image Rudy Q ♦♦ STAFF Sep 08 '16 at 07:37 PM

As noted above this appears to be a circular reference issue. This does not appear to be the desired work flow for this type of set up.

(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