Hello everybody. I have an issue that i have finished and packaged my project and when i opened it there is no menu or UI that should have been there. it work fine at “selected viewport” or “new editor window” but when i play “standalone game” or package and play it there is just big black screen. Can you help me please.
sorry i already done it. nothing happened.
When i packaged project i found a lot of " All widgets were invalidated" message
So if anyone have the same issue i solved mine by:
1- Open the widget you are using
2- Go to graph
3-Then open class settings
4- Choose User Widget for Parent Class
5- Do that to all of your widgets
not helping :C
but for me worked when i changed video from 720p to 1080p
Thank you very much, your solution solved my problem.
Hi All,
I am having a similar issue where widget are not showing up. I made a search bar widget to look for single actor and when clicking on it can be spawned to the actor location.
In the PIE it does work well but when testing in standalone version, or package game it doesn’t work.
I am getting this error log
LogScript: Warning: Script Msg: Attempted to access index 0 from array 'DataLayers' of length 0 in '/Game/02_BP/V/LayerTool/UI/UI_LayerButton.UI_LayerButton_C'!
LogScript: Warning: Script Msg called by: U

I_LayerButton_C /Engine/Transient.UnrealEdEngine_0:GameInstance_1.UI_LayerTool_C_0.WidgetTree_0.UI_LayerButton_Root
LogScript: Warning: Script Msg: The widget 'W_NameBar_C_0' already has a parent widget. It can't also be added to the viewport!
LogScript: Warning: Script Msg called by: W_SearchBar_C /Engine/Transient.UnrealEdEngine_0:GameInstance_1.MainMenu_HUB_C_0.WidgetTree_0.W_SearchBar_120
LogScript: Warning: Script Msg: The widget 'W_NameBar_C_1' already has a parent widget. It can't also be added to the viewport!
LogScript: Warning: Script Msg called by: W_SearchBar_C /Engine/Transient.UnrealEdEngine_0:GameInstance_1.MainMenu_HUB_C_0.WidgetTree_0.W_SearchBar_120
LogScript: Warning: Script Msg: The widget 'W_NameBar_C_2' already has a parent widget. It can't also be added to the viewport!
LogScript: Warning: Script Msg called by: W_SearchBar_C /Engine/Transient.UnrealEdEngine_0:GameInstance_1.MainMenu_HUB_C_0.WidgetTree_0.W_SearchBar_120
LogScript: Warning: Script Msg: The widget 'W_NameBar_C_3' already has a parent widget. It can't also be added to the viewport!
LogScript: Warning: Script Msg called by: W_SearchBar_C /Engine/Transient.UnrealEdEngine_0:GameInstance_1.MainMenu_HUB_C_0.WidgetTree_0.W_SearchBar_120
LogScript: Warning: Script Msg: The widget 'W_NameBar_C_4' already has a parent widget. It can't also be added to the viewport!
Well, I found the issue to my problem. The game is generating the User interface before all actor being loaded, therefore my list was returning 0.
I added a delay node which fixed the issue.