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"

[With fix] UE4.20 bug in SVirtualWindow / SlateWidgetHelper (ComboBox not working in WidgetComponent)

In our packaged application, we use ComboBox'es in WidgetComponent's in VR. Those stopped working in the packaged version. Reason here being that in

 bool FSlateWindowHelper::FindPathToWidget([...]) 

it tries to build the widget path up to first SWindow by checking widget->Advanced_IsWindow(). However, WidgetComponents do not have any SWindow's in their hierachy, only SVirtualWindow, which do derive from SWindow but are not marked with bIsWindow = true. Therefore, when it reaches SVirtualWindow which does not have any parent widget anymore, it flushes the widgetPath and returns "false" for "no path existing".

So my temporary fix would be to set bIsWindow = true in the Construct function of SVirtualWindow, or to add a seperate condition in Line 117

 if (CurWidget->Advanced_IsWindow() || StaticCastSharedPtr<SVirtualWindow>(CurWidget))

And yes this was a PITA to debug :D

For UE4 guys, to replicate:

Create a 3D WidgetComponent, add a combo box with entries, script a WidgetInteractionComponent together, throw that widget into the level, package in Shipping, try to click it.

Edit: I will file an official bug-report, I just wanted to post it here too, in case it can help someone until an official fix is released.

Product Version: UE 4.20
more ▼

asked Oct 05 '18 at 11:57 PM in C++ Programming

avatar image

96 8 16 25

avatar image Starkium Nov 07 '18 at 12:36 AM

has this been addressed yet? I really don't want to have to redo my project from a source build just to do this fix.

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

1 answer: sort voted first

If you did report this to the bug tracker then thanks it will be helpful.

more ▼

answered Nov 07 '18 at 09:03 PM

Brian Johnstone (suspended)
(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