I am currently trying to create a inventory system, but i am stumped on this error I get when trying opening and closing the widget. “The player controller is not a valid local player so it cant focus the widget”.
Well, you are setting User Focus with a NULL player, which is, well… not a valid local player.
If you want to “unfocus” a widget, I believe you should set for the player what to focus instead (something must always be in focus). For example, SetUserFocus
to another widget, or SetFocusToGameVIewport
if you don’t want any widget to be focused, but the viewport.