# Widget Component doesn't render

**URL:** <https://forums.unrealengine.com/t/widget-component-doesnt-render/1402102>\
**Category:** UI\
**Tags:** unreal-engine, Rendering, Blueprint\
**Created:** [November 18, 2023, 11:22pm UTC](https://forums.unrealengine.com/t/widget-component-doesnt-render/1402102 "2023-11-18T23:22:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Add\_Gaming](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Add\_Gaming](https://forums.unrealengine.com/u/Add_Gaming)\
**Post date:** [November 18, 2023, 11:22pm UTC](https://forums.unrealengine.com/t/widget-component-doesnt-render/1402102/1 "2023-11-18T23:22:00Z")

</div>

I want to place interactable UI elements along a spline.  
I created a test actor according to the tutorials and other guides out there.  
The `actor` has a `widget component` attached, which has a `widget blueprint` as its `widget class`  
The test actor itself works fine (the yellow-on-black image in the pictures below)

But if I try to generate that dynamically, the result doesn’t show.

**While in `play` mode**  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/3/b/23bcf9bce6d72ef18a638884b61ae4eeced6c463.png)  
**While in `edit` mode**  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/f/d/ffdae244d8bd978a696e4021851ae676f8708d3e.jpeg)

This is my current blueprint responsible for generating the widgets:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/e/b/1eb8c0ae68b1a225488057c0c6a6c9a90adcba30.png)

The materials seem to be ok, the spawn location is not clipping and it has also nothing to do with not seeing the whole parent object.  
Any ideas are appreciated.

---

<div class="post-metadata">

**Author:** ![xCANAdan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xCANAdan](https://forums.unrealengine.com/u/xCANAdan)\
**Post date:** [November 19, 2023, 8:55pm UTC](https://forums.unrealengine.com/t/widget-component-doesnt-render/1402102/2 "2023-11-19T20:55:22Z")

</div>

can you click on the `add widget component` node and show how your default settings are setup? its possible that you don’t have visibility set or draw size correct or something

---

<div class="post-metadata">

**Author:** ![Add\_Gaming](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Add\_Gaming](https://forums.unrealengine.com/u/Add_Gaming)\
**Post date:** [November 20, 2023, 3:54pm UTC](https://forums.unrealengine.com/t/widget-component-doesnt-render/1402102/3 "2023-11-20T15:54:23Z")

</div>

I just use the default “`Add Component by Class`” node.  
The `class` I’m adding is the `Widget Component` and then split the `Transform` pin.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/e/4/9e4218f421a7c797635b3eaadfc5971120ad1fb1.png)  
_(step by step method of “creating” the `Add Widget Component`)_

The `relative scale` is adjusted to keep the proportions right.  
Since the code lives inside an `actor component`, I set the target to be the owner of this `actor component`.

---

<div class="post-metadata">

**Author:** ![xCANAdan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xCANAdan](https://forums.unrealengine.com/u/xCANAdan)\
**Post date:** [November 20, 2023, 5:39pm UTC](https://forums.unrealengine.com/t/widget-component-doesnt-render/1402102/4 "2023-11-20T17:39:33Z")

</div>

right, but `add widget component` node contains a bunch of settings that need to be accounted for. there settings here. can you provide a screen shot of how you have yours setup?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/1/f/f1fd1da7060caa7cb60fc393b2feb78186ef33af.png)

---

<div class="post-metadata">

**Author:** ![Add\_Gaming](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Add\_Gaming](https://forums.unrealengine.com/u/Add_Gaming)\
**Post date:** [November 20, 2023, 6:46pm UTC](https://forums.unrealengine.com/t/widget-component-doesnt-render/1402102/5 "2023-11-20T18:46:42Z")

</div>

As I said, I am programming this functionality inside a component.  
Hence I don’t have access to the `Add Widget Component` function.

It doesn’t make sense to me that any changes that I make in another place impact the result of this script, but I’ll post it here anyway for completion:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/6/a/a6ac0c7d528fc75b26e3c59f1c8b02ac5c54523e.png)
