Hi, I’ve been having an issue with my project where I add a 3D widget to one Actor and it will show, but I add the same one to another actor and it won’t. More specifically I have an AI which has a screen space 3D Widget above its head for a health bar which appears/disappears when the player approaches/leaves. However if I create a brand new BP Actor and add the same widget to it (Default details), place it in the world nothing shows. There’s also an issue where if I set the said health bar to visible in the AI BP by default nothing is there. And yet when I add the same widget to my player character it shows? I’ve tried recreating the issue in a brand new project and had no issues?
There seems to be no continuity to the issue; which leads me to believe its some sort of bug, however I could be wrong. Any help would be greatly appreciated!
Hello TheLoneJuanderer,
I have a few questions that will help narrow down what issue it is that you are experiencing.
Quick questions:
- Could you take a look at your widgets “Space” setting for each widget (World space will show up in the blueprint Screen Space will not show up in the Blueprnit)?
- Could you make sure that your widget is not being clipped and that the draw size is large enough to fit the widget?
- Could you provide screen shots of any settings/blueprints/widgets that may be involved?
Hi Rudy thanks for the quick reply, I’ve since narrowed down the issue. This only seems to happen when an actor isn’t spawned during gameplay.
e.g. I have an AI spawner which spawns enemies on begin play and once all of the first enemies are killed it spawns another wave. The first ‘round’ of enemies don’t have the widget rendering, but the second do. This is the same with the player character because it is not in the level by default but dynamically spawned by the GameMode, but the widget appears.
Hope this new info will help us find the issue.
Thanks!
(I am unable to add screenshots for some reason)
Round 1
Round 2
I am unable to reproduce this issue with the information provided. Could you provide screen shots of the actual widgets/blueprints/settings that are involved with this issue?
Here are the screenshots. I created a two brand new BP’s in my project (TestBP1) (TestBP2). BP1 has the 3D widget and BP2 Spawns BP1 after 3 seconds. I dragged them both into the world. I forgot to mention that I am using them in screen space.
Thanks!
Could you provide a zipped down copy of the project that is having this issue so that I could take a closer look? If you would like to provide it privately, you could do so by providing a link via drop box for google drive in a private message to me on the forums.
Hello TheLoneJuanderer,
We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.
Thanks,