/Engine/Source/Runtime/UMG/Public/Components/RetainerBox.h
Initialize RenderOnInvalidation in the constructor before theSWidgetis constructed.
void InitRenderOnInvalidation ( bool InRenderOnInvalidation )