UMG RichTextBlock rendering purple squares

For the script replace GENERATED_UCLASS_BODY() with GENERATED_BODY() .
That could be the reason why its not working as everything else looks correct.