Widget turns invisible in bp everytime I restart ue4

Everything works fine when I play the game in pie or standalone and the widget is displayed in my bp widget as normal.

But when I package the game and try to play it, the widget doesnt show up.
Then I restart ue4 engine and I go inside the main widget, and the widget I am trying to get to show up is simply invisible in the widget BP.

So let me just break it down.

  • Widget works fine in PIE
  • Widget works fine in Standalone
  • Widget doesnt work in package game (development)
  • Restart ue4 engine, widget is invisible inside of widget bp.

I honestly dont have a clue why this is happening :slight_smile:

Visibility is self hit test. I have made a bing to an enum, so when lobby is selected (currently for testing purposes its binded to 1 = selection 2 = lobby)

first picture you can see the widget is invisible after I have packaged the game and restarted ue4 engine (its the one that I have selected)

second picture you can see the enum switch I am using.

third picture is how it is suppose to look and this is after I dragged in a new network lobby widget. (but then I have relink everything, and the bug still appears if I package and restart ue4 engine.)

hope somebody knows whats going on :slight_smile: thanks for any help

i dont think thats the reason but try the visibility this way maybe?

or maybe other solutions

-do you have the right anchors? (maybe the resolution is not the same as in PIE and standalone so it gets out of viewport

-maybe put those things up in zorder?

I can Confirm that i have similar problem with widget not showing up after restart. But it only happans to widget what is premade witdget placed from Palette tab in Hierarchy tab.

Picture what i see after Editor Restart : Screenshot - b6481176d4d61defb03e447e348b4b78 - Gyazo

Hello ThatLittleSpider,

I was not able to reproduce this issue on our end. I have a couple of questions that will help me narrow down the issue you are experiencing.

  1. Can you reproduce this issue in a new project?
  2. If so, could you provide a detailed list of steps so I can reproduce the issue on our end?
  3. could you provide screenshots of you main menu reference?


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.