UMG or Unreal Motion Graphics, is the GUI based editor for the Slate GUI library. UMG was introduced as an experimental feature in Unreal Engine 4.5, and has become stable and accepted as a major feature in later engine versions. Use this tag for all questions relating to Unreal UMG and widgets.
Questions tagged [unreal-umg]
36 questions
2
votes
0 answers
Unreal Engine 4.27.2 C++ | SetText not updating UserWidget’s TextBlock from a WidgetComponent in a BP
I have an Actor BP, inside this BP I have a UWidgetComponent with a Widget Class already selected in the Details, and that Widget Class has a TextBlock. Now, inside this BP I also have a C++ USceneComponent, this component is in charge of showing a…

Elias Marrero
- 187
- 2
- 15
2
votes
0 answers
How do I fix a UWebBrowser not rendering anything in Unreal Engine UMG?
I'm having a really hard time creating a UWebBrowser and adding it to a UCanvas in C++.
I got an equivalent blueprint working perfectly by just dropping the UWebBrowser widget into the UCanvas widget.
The UTextBlock in my example renders perfectly,…

Ari Lotter
- 605
- 8
- 23
2
votes
2 answers
UE4 How to use UMG ListView to display a list of Structs?
I apologize if this seems trivial, but I've searched for an answer for a while now, and I can't seem to find a solution.
I have a list of structs (TArray of structs to be exact.) that represent high scores in my game. (Each struct represents a high…

Curtwagner1984
- 1,908
- 4
- 30
- 48
1
vote
0 answers
How to get text size or resize the widget according to the text size?
I am creating widgets in runtime and then change texts in them by using setText. The problem is the Size Box which contains the text doesn't update as "Size to Content" after i changed the text. is it possible to update this so it can resize…

Oğulcan Gündüz
- 25
- 1
- 5
1
vote
1 answer
How to setup HUD widgets correctly in UE4
I am following a tutorial on Udemy on Unreal Engine based game development. I have posted the sam question on Udemy as well. I will try my best to explain the issue I am facing.
What works
I have set up a
GameMode named FPS_GameMode,
GameInstance…

Akshay Kumar
- 875
- 13
- 29
1
vote
1 answer
unreal engine blueprint actor lost parameter after files move location
I created three files, one material, one enum, one blueprint actor. In blueprint actor, I created a dynamic material instance to access material and a variable to access enum as a dropdown list. This functions all work fine, but when I move these…

Hammeee
- 85
- 9
1
vote
1 answer
Why does the scrollbox not show the scroll in unreal engine 4?
Above is the screenshot of the scrollbox that I'm trying to create but it won't show the scroll on the side. You can see that the contents are overflowing out of the scrollbox but it still won't show or do the scroll. Can anyone please figure out…

Abhishek
- 31
- 8
1
vote
0 answers
UE UMG, when I addchild use C++, slot lost Slot properties I designed in blueprint, how can I keep it?
When I designed one Slot properties in blueprint, it works just when I put it on another blueprint directly.when I dynamic create one and addchild to another widget use C++, Slot properties designed in blueprint are not works, I need to set it by…

CrazyStone
- 11
- 1
1
vote
0 answers
SViewTree's Children dosen't work after first level
I created a Slate TreeView widget.
It works fine until I extend the first level of the tree.
Then it dosent allow me to select any of the children (That are in the second level of the tree), And it dosent even show me the subfolders of the next…

Ido Mtn
- 11
- 1
0
votes
0 answers
Unreal Assign C++ Functions to Blueprint events
I have a UMG blueprint (let it be A) that simply inherits from User Widget (No custom C++ subclass). It resides in another UWidget (name it B) (but inherited from custom C++ subclass).
My first question is what’s the best practice to get a pointer…

A_Kz
- 139
- 1
- 8
0
votes
0 answers
UI Widget blueprints not activated when packaging the game (shipping)
I’m kinda new to Unreal although I’ve had some months of intensive usage. I have an issue that is stopping me to continue developing my game. For some reason, the code I have (BP) works okay on PIE & Standalone but the functions aren’t activated…
0
votes
1 answer
Why does DefaultValue:float := 100.0 return an error?
I'm currently coding in Unreal Engine For Fortnite and I was wondering what the issue with my code is.
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/UI }
using { /Fortnite.com/UI }
using {…

BraveGamerTV
- 23
- 5
0
votes
0 answers
How to determine the right mouse button holding in the GUI?
I'm working with version 5.1.1 and I need to detect if the right mouse button is holding then popup a window on top of the button(picture) in UMG.
I use input BindAxis in APlayerController:
InputComponent->BindAxis("RightMouseButtonHold", this,…
0
votes
0 answers
Anyone can help me making an archviz minimap in unreal engine 5?
I want to make an archviz minimap for my architecture project in unreal engine 5 but there isnt any helpfull tutorial for this!
Can anyone help me for this?!
I try some but i didnt have good result
0
votes
0 answers
UE5.1 UMG Blueprint is not visible on Android
After moving from UE5.0 to UE5.1, none of my UMG blueprints appear on screen after packaging for Android. I have set up everything according to the UE5.1 documentation.
Here's the UMG spawning code in my Player Controller class, I can confirm the…