The inventory system is not picking up the item on client side but it’s working perfectly fine on the server side. Can somebody please help me with it. It is a 2D RPG multiplayer game on UE5.
You need to set WB_Main in BP_PlayerBase.
This would need to be done through create widget from class and then pass in the resulting widet to WB_Main (through set WB_Main).
This should be done at some time in BP_PlayerBase somewhere before the function is called (could be in begin play or some other function)
I’ve created widget through WB_Main because it also includes reference through other things such as coins and progress bars. So I can’t do that. Somebody suggested me to do it through Actor Component but I’m not able to figure it out how to do it
Do you know how you can make it with actor component?\