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
Steps to Reproduce
Using provided repro project
- Open ReproWorld map (should open by default) and ensure “ReproGameMode” is the default overridden GameMode (should be by default).
- Play-in-editor, press Shift+F1 to gain a mouse cursor, press the “~TEST CRASH~” button.
- Observe project will NOT crash, and will display a chat item in the vertical box to the right of the screen.
- Stop PIE and open GUI/ChatTextContainer UMG Widget.
- Select the TwitchChat_NameBadge Text Widget under Overlay>[Horizontal Box]
- Bind the Text value to “Get_TwitchChat_NameBadge_Text_0”
- Return to main editor and repeat step 2
- Observe editor crash