Hi All,
I am working on a simple Hunger & Thirst mechanic for multiplayer, but the progress bar is not updating. With print string I can see that the information reaches the widget, is processed correctly in the widget and the percent is correctly set. However, in the widget, the progress bar is not showing any visual change.
I think this might be related to the way I have set up the widget.
On begin play, I create the widget in the controller. When pressing tab, the widget gets added to the viewport. OnKeyDown, the widget gets removed from parent.
When pressing tab multiple times and “destroying and re-creating” the widget, it still doesn’t update. I also tried, creating the widget on begin play, adding it to viewport and only toggle its visibility with the input, but it still won’t update.
The print strings in the UI work on both, single and multiplayer just fine. Only the visuals are not catching up.
Any help will be highly appreciated!