Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.

Gameplay Container Widget From Entity ‒ How To Fix Invalid Blueprint Widget

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.

wewewe

  • Add a NamedSlot to the newly created widget blueprint and call it Container or whatever you like

01

  • 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

02

03

wdwdwd

  • 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

055

  • Next, change the settings to make in the center of the screen.

qwdqwda

  • Now compile the blueprint and save all changes to complete the process! That's it!

Clone this wiki locally