Asserts Due to Mismatched Parents When Using CommonWidgetCarousel

This question was created in reference to: [Using GlobalInvalidation with SCarouselWidget Immediately [Content removed]

We recently enabled Slate Global Invalidation in our project and immediately began encountering assertion failures due to mismatched parents. The issue appears to be specifically triggered when using the

CommonWidgetCarousel component. I noticed another post describing the same problem, but it was closed without a clear resolution or fix.

Steps to Reproduce

1. Enable CommonUI Plugin

2. Create a widget with a Common Carousel Widget and place a single widget (image, button, etc) as a child of it

3. Put the widget somewhere it can be accessed

4. Make a packaged build

5. Enable Global Invalidation via Slate.EnableGlobalInvalidation 1

6. Open the widget

7. You assert with message:

NewWidget.GetParentWidget().Get() == &Widget

in SlateInvalidationWidgetList.cpp

After investigating, I found that this issue was fixed in version 5.6 with CL #36314240. I’ve cherry-picked the change, and it resolved the problem. For your information, this thread can be closed.

Hi [mention removed]​,

Thanks for following up. Glad to hear this has been fixed. I’ll go ahead and close this case now.

Best,

Francisco