# \[Discontinued\] UMG Rich Text Box

**URL:** <https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445>\
**Category:** Game Development\
**Tags:** unreal-engine\
**Created:** [March 27, 2016, 10:49am UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445 "2016-03-27T10:49:11Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![Kelen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kelen](https://forums.unrealengine.com/u/Kelen)\
**Post date:** [April 24, 2017, 11:09am UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445/43 "2017-04-24T11:09:14Z")

</div>

It looks like an awesome plugin, is there any chance it could be updated for 4.15? Thanks!

---

<div class="post-metadata">

**Author:** ![Flash7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Flash7](https://forums.unrealengine.com/u/Flash7)\
**Post date:** [April 24, 2017, 1:38pm UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445/44 "2017-04-24T13:38:46Z")

</div>

Kelen, just follow instructions in this thread and you should be good to go.

---

<div class="post-metadata">

**Author:** ![Kelen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kelen](https://forums.unrealengine.com/u/Kelen)\
**Post date:** [April 24, 2017, 7:54pm UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445/45 "2017-04-24T19:54:13Z")

</div>

> [@Flash7;699051](#):
>
> Kelen, just follow instructions in this thread and you should be good to go.

Sorry, I must’ve missed it, thanks!

---

<div class="post-metadata">

**Author:** ![WixZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WixZ](https://forums.unrealengine.com/u/WixZ)\
**Post date:** [May 2, 2017, 5:07pm UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445/46 "2017-05-02T17:07:34Z")

</div>

Could someone please provide some info on how to get this working for someone without any c++ knowledge?

---

<div class="post-metadata">

**Author:** ![Flash7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Flash7](https://forums.unrealengine.com/u/Flash7)\
**Post date:** [May 2, 2017, 7:51pm UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445/47 "2017-05-02T19:51:33Z")

</div>

there is no direct solution unless someone will compile a plugin for you.

---

<div class="post-metadata">

**Author:** ![Syntopia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Syntopia](https://forums.unrealengine.com/u/Syntopia)\
**Post date:** [May 15, 2017, 11:28am UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445/48 "2017-05-15T11:28:38Z")

</div>

Who wants to use this widget simply copy source from to your project:

from:

E:\_\Epic Games\UE\_4.15\Engine\Source\Runtime\UMG\Private\Components\RichTextBlock.cpp  
E:\_\Epic Games\UE\_4.15\Engine\Source\Runtime\UMG\Public\Components\RichTextBlock.h

Replace UCLASS(Experimental) to UCLASS()  
and rename RichTextBlock to RichText everywhere

compile, and use as a normal widget

And do not forget to add modules in .Build.cs

PrivateDependencyModuleNames.AddRange(new string] { “UMG”, “Slate”, “SlateCore” });

---

<div class="post-metadata">

**Author:** ![Kruncher](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kruncher](https://forums.unrealengine.com/u/Kruncher)\
**Post date:** [May 24, 2017, 9:46pm UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445/49 "2017-05-24T21:46:38Z")

</div>

This looks really interesting… something that should be merged into the game engine!! 😃

Out of interest, what are the chances of supporting inline sprites like TextMesh Pro has in Unity?

---

<div class="post-metadata">

**Author:** ![Kruncher](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kruncher](https://forums.unrealengine.com/u/Kruncher)\
**Post date:** [May 24, 2017, 9:52pm UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445/50 "2017-05-24T21:52:35Z")

</div>

Btw, the source doesn’t have a license file. Which license is it? MIT?

---

<div class="post-metadata">

**Author:** ![woppin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@woppin](https://forums.unrealengine.com/u/woppin)\
**Post date:** [May 26, 2017, 8:01am UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445/51 "2017-05-26T08:01:06Z")

</div>

> [@Kruncher;713608](#):
>
> Btw, the source doesn’t have a license file. Which license is it? MIT?

It’s copied from the engine source so the license will be as per [Game-Engine-Technologie von Unreal - Unreal Engine](https://www.unrealengine.com/eula)

IANAL TINLA

---

<div class="post-metadata">

**Author:** ![Syalen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Syalen](https://forums.unrealengine.com/u/Syalen)\
**Post date:** [July 1, 2017, 12:21pm UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445/52 "2017-07-01T12:21:17Z")

</div>

Hi,

I use this plugin in my project and it works great, good job 🙂  
The thing is, when I packaged my game, it seemed like the plugin wasn’t there at all, so I came back to this post and added the dependency module in my game build. The client correctly runs the plugin, and everything works, but the server shows me a error, whatever the configuration build is:

 ![RichTextBox.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/1/1/11c575fa5d29dd440e4d31ae720830f911222be2.png)

If I press Ok, the server still launches correctly and I can play.

I tried to add the roboto uasset from my engine to the packaged game, but it didn’t work, the warning was still there.

Anyone has an idea?  
Thanks!

---

<div class="post-metadata">

**Author:** ![Delicious](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Delicious](https://forums.unrealengine.com/u/Delicious)\
**Post date:** [July 1, 2017, 11:31pm UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445/53 "2017-07-01T23:31:55Z")

</div>

I’ve been trying for hours to try to get this to work, but no success. If someone could help me out I would really appreciate it.

---

<div class="post-metadata">

**Author:** ![Syalen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Syalen](https://forums.unrealengine.com/u/Syalen)\
**Post date:** [July 2, 2017, 4:00pm UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445/54 "2017-07-02T16:00:30Z")

</div>

Hi Delicious, what doesn’t work as intended? Do you have a full blueprint project? Did you install the plugin? Is this a problem with the packaged game?

---

<div class="post-metadata">

**Author:** ![Delicious](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Delicious](https://forums.unrealengine.com/u/Delicious)\
**Post date:** [July 3, 2017, 4:59am UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445/55 "2017-07-03T04:59:59Z")

</div>

> [@Syalen;731270](#):
>
> Hi Delicious, what doesn’t work as intended? Do you have a full blueprint project? Did you install the plugin? Is this a problem with the packaged game?

Hi, I have a Blueprint project. what do I need to do to make it compatible with 4.15

---

<div class="post-metadata">

**Author:** ![Syalen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Syalen](https://forums.unrealengine.com/u/Syalen)\
**Post date:** [July 3, 2017, 12:44pm UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445/56 "2017-07-03T12:44:38Z")

</div>

I didn’t know how to make it, but I think Syntopia described the steps pretty well:

> [@Syntopia;709231](#):
>
> Who wants to use this widget simply copy source from to your project:
> 
> from:
> 
> E:\_\Epic Games\UE\_4.15\Engine\Source\Runtime\UMG\Private\Components\RichTextBlock.cpp  
> E:\_\Epic Games\UE\_4.15\Engine\Source\Runtime\UMG\Public\Components\RichTextBlock.h
> 
> Replace UCLASS(Experimental) to UCLASS()  
> and rename RichTextBlock to RichText everywhere
> 
> compile, and use as a normal widget
> 
> And do not forget to add modules in .Build.cs
> 
> PrivateDependencyModuleNames.AddRange(new string] { “UMG”, “Slate”, “SlateCore” });

If you have a full blueprint project, you first have to generate the C++ code for you project. To do so, you have to create a C++ class in your content folder (via the editor), it will automatically generate what you need (the editor may ask you to download Visual Studio 2015 first if it’s not already installed, do it).

If these steps seem too complicated for you, you have several options:

- Install Unreal Engine 4.13, so you can use the plugin simply
- Find another plugin to do this (I don’t know any, but maybe…)
- Wait for someone to recompile the plugin to 4.15

Hope it helped!

---

<div class="post-metadata">

**Author:** ![Delicious](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Delicious](https://forums.unrealengine.com/u/Delicious)\
**Post date:** [July 3, 2017, 10:20pm UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445/57 "2017-07-03T22:20:54Z")

</div>

> [@Syalen;731579](#):
>
> I didn’t know how to make it, but I think Syntopia described the steps pretty well:
> 
> If you have a full blueprint project, you first have to generate the C++ code for you project. To do so, you have to create a C++ class in your content folder (via the editor), it will automatically generate what you need (the editor may ask you to download Visual Studio 2015 first if it’s not already installed, do it).
> 
> If these steps seem too complicated for you, you have several options:
> 
> - Install Unreal Engine 4.13, so you can use the plugin simply
> - Find another plugin to do this (I don’t know any, but maybe…)
> - Wait for someone to recompile the plugin to 4.15
> 
> Hope it helped!

I have done this but it now tells me to rebuild from source.  
I’m not sure if I’m supposed to copy the plugin’s RichTextBox.cpp into the Engine’s RichTextBlock.cpp

---

<div class="post-metadata">

**Author:** ![Syalen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Syalen](https://forums.unrealengine.com/u/Syalen)\
**Post date:** [July 4, 2017, 2:32pm UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445/58 "2017-07-04T14:32:12Z")

</div>

> [@Delicious;731818](#):
>
> I have done this but it now tells me to rebuild from source.  
> I’m not sure if I’m supposed to copy the plugin’s RichTextBox.cpp into the Engine’s RichTextBlock.cpp

Well, I didn’t try this tutorial, so I’m unable to help you, sorry…  
Maybe someone else will?

---

<div class="post-metadata">

**Author:** ![eandmsz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eandmsz](https://forums.unrealengine.com/u/eandmsz)\
**Post date:** [July 13, 2017, 7:50pm UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445/59 "2017-07-13T19:50:01Z")

</div>

Can someone post a compiled version for 4.16.2 please ?

---

<div class="post-metadata">

**Author:** ![looter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/looter/32/914507_2.png) [@looter](https://forums.unrealengine.com/u/looter)\
**Post date:** [August 3, 2017, 11:11pm UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445/60 "2017-08-03T23:11:14Z")

</div>

> [@Syalen;730900](#):
>
> Hi,
> 
> I use this plugin in my project and it works great, good job 🙂  
> The thing is, when I packaged my game, it seemed like the plugin wasn’t there at all, so I came back to this post and added the dependency module in my game build. The client correctly runs the plugin, and everything works, but the server shows me a error, whatever the configuration build is:
> 
> ![RichTextBox.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/1/1/11c575fa5d29dd440e4d31ae720830f911222be2.png)
> 
> If I press Ok, the server still launches correctly and I can play.
> 
> I tried to add the roboto uasset from my engine to the packaged game, but it didn’t work, the warning was still there.
> 
> Anyone has an idea?  
> Thanks!

Open Plugins\UmgRichTextBox\Source\UmgRichTextBox\Private\RichTextBox.cpp in an editor, and replace the URichTextBox class’s constructor on lines 8-24 with this code,

```php

URichTextBox::URichTextBox(const FObjectInitializer& ObjectInitializer)
	: Super(ObjectInitializer)
{
	if (!IsRunningDedicatedServer())
	{
		static ConstructorHelpers::FObjectFinder<UFont> RobotoFontObj(TEXT("/Engine/EngineFonts/Roboto"));
		Font = FSlateFontInfo(RobotoFontObj.Object, 12, FName("Regular"));
	}

	Color = FLinearColor::White;
	LineHeightPercentage = 1;

	ShadowOffset = FVector2D(1.0f, 1.0f);
	ShadowColorAndOpacity = FLinearColor::Transparent;

	Decorators.Add(ObjectInitializer.CreateOptionalDefaultSubobject<URichTextBlockDecorator>(this, FName("DefaultDecorator")));
}

```

that will fix the error for dedicated servers.

---

<div class="post-metadata">

**Author:** ![Flash7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Flash7](https://forums.unrealengine.com/u/Flash7)\
**Post date:** [August 4, 2017, 6:57am UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445/61 "2017-08-04T06:57:37Z")

</div>

The error says that font is missing. Technically, server does not work with UMG, it is client’s side; thus, server side might not have fonts.

---

<div class="post-metadata">

**Author:** ![Syalen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Syalen](https://forums.unrealengine.com/u/Syalen)\
**Post date:** [August 4, 2017, 4:39pm UTC](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445/62 "2017-08-04T16:39:40Z")

</div>

Wow, thank you very much for that! 🙂  
We don’t have the same plugin version, so I just added the IsRunningDedicatedServer() condition for the font setting up, and that does the trick, thanks!

I didn’t think I’d get an anwser for that 🙂

[Previous page](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445.md?page=2)

[Next page](https://forums.unrealengine.com/t/discontinued-umg-rich-text-box/59445.md?page=4)
