You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 21, 2024. It is now read-only.
Nazake edited this page Jul 12, 2024
·
2 revisions
How to Fix Invalid Blueprint Widget for Gameplay Container From Entity Widget
Remove the old widget blueprint, and recreate another widget blueprint inheriting from GameplayContainerFromTargetEntityWidget class then press select.
Add a NamedSlot to the newly created widget blueprint and call it Container or whatever you like
Now go to the widget blueprint graph side, and create 2 variables first one of type GameplayContainerComponent object reference and the second one of type GameplayContainerWidget object reference as show in the picture
Next implemnent the function OnContainerFromTargetEntityChanged from the functions override under the event graph, then add the blueprint code and nodes following the picture below
Now head to W_Inventory_Window widget in the UI folder and delete the old blueprint widget if its still in there, then add the new one you just created
Next, change the settings to make in the center of the screen.
Now compile the blueprint and save all changes to complete the process! That's it!