I found that “addtoviewport” did not work immediately.
LoadingMessage->AddToViewport(); ...//Some Complex Computations
It will not show the “LoadingMessage” Widget until all the computations are completed. So…How to make computations after “LoadingMessage” being added to viewport?
My solution is: create a new thread