It looks like that should work. I have only set Widgets from the Controller and from the Level Blueprint though. It’s possible it may not work from the Character.
It looks like there’s code inside your UI that’s preventing you from spawning it as it would cause an infinite loop. Do you have any code we can look at inside your UI? Possibly something related to clicking on the person on your team spawning info about them or something?
When you click Call Stack in the error log, what does it take you to? if it’s to BP code can you take a screenshot of it for us?
Your mistake is trying to spawn the UI widget actor from within the Event Construct of the UI widget actor.
What happens here is that the widget spawns, then has it’s construct spawn another widget, which has that construct spawn another widget, and so on. Therefore, Infinite Loop.
Move the nodes from outside of the UI actor’s event graph. Place them in a different blueprint. I would recommend the Player Controller’s Event Begin Play function.
thank mate - that helped a lot. however, not totally resolved - but **** near close!
so when i started this - i had no idea about UI - so i bought a UI Kit from the marketplace and copied it over to my content folder. however, i decided to do it on my own.
now the problem is - the UI Kit is overlapping my UI - they’re meshed together & and I have no idea how to get rid of it!