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"

Naming a NamedSlot inside another causes infinite loop and crash

  1. Create a UserWidget, let's call it ParentWidget

  2. Inside Parent, create a NamedSlot, let's call it ContentSlot

  3. Create another UserWidget, let's call it ChildWidget

  4. Inside ChildWidget, add an instance of ParentWidget

  5. Inside the ContentSlot of ParentWidget, drag in a new NamedSlot

  6. Rename the new slot to "ContentSlot" (the same as its containing slot)

  7. Crash

The crash happens because of a stack overflow on UNamedSlot::OnSlotRemoved(UPanelSlot* InSlot).

 UE4Editor-UMG.dll!UNamedSlot::OnSlotRemoved(UPanelSlot * InSlot) Line 92    C++
  UE4Editor-UMG.dll!UPanelWidget::ClearChildren() Line 225    C++
  UE4Editor-UMG.dll!UUserWidget::Initialize::__l5::<lambda>(UWidget * Widget) Line 112    C++
  UE4Editor-UMG.dll!UWidgetTree::ForWidgetAndChildren<void <lambda>(UWidget *) >(UWidget * Widget, UUserWidget::Initialize::__l5::void <lambda>(UWidget *) Pred) Line 107    C++
  UE4Editor-UMG.dll!UWidgetTree::ForWidgetAndChildren<void <lambda>(UWidget *) >(UWidget * Widget, UUserWidget::Initialize::__l5::void <lambda>(UWidget *) Pred) Line 101    C++
  UE4Editor-UMG.dll!UWidgetTree::ForWidgetAndChildren<void <lambda>(UWidget *) >(UWidget * Widget, UUserWidget::Initialize::__l5::void <lambda>(UWidget *) Pred) Line 101    C++
Product Version: UE 4.15
Tags:
more ▼

asked May 16 '17 at 12:29 PM in Bug Reports

avatar image

benhumphreys
118 16 24 33

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

1 answer: sort voted first

Hello benhumphreys,

I was able to reproduce this issue on our end. I have written up a report and I have submitted it to developers for further consideration. I have provided a link to the public tracker. Please feel free to use the link provided for future updates.

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

Make it a great day

more ▼

answered May 16 '17 at 09:11 PM

avatar image

Rudy Q ♦♦ STAFF
47.3k 545 132 525

avatar image benhumphreys May 17 '17 at 06:37 AM

Thanks so much Rudy!

(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