I have a User Widget with some exposed variables as part of an inventory system that I’m creating for a local multiplayer game. One of those exposed variables is a structure called ‘Slot Contents’ that I created. The input for that is a structure of the same type from the player.
Initially, there was no issue with the system, but while I was working on optimizing it, a weird problem started occurring.
Whenever I would close the project and open it again, the Slot content variable would be disconnected. When I try to reconnect it, it gives a message saying “Only exactly matching structures are considered compatible”. However, if I create that same create widget node again, or even copy-paste that same node and then try to connect to the exposed variable, it works perfectly.
The problem repeats every time I close the project and open it again. It makes no sense to me.
I’ve attached a Screenshot of the issue for reference. The Create Inventory Slot Widget on top is the newly created one and the slot content variable is able to connect there. But the node below is that is the ‘create widget’ node that already existed and I’m not able to connect the Slot Content Variable there.
Any help would be greatly appreciated! Thank you in advance!
https://forums.unrealengine.com/core/image/gif;base64