UMG blueprint unresolved compile error when i run my game

I’ve recreated the slot classes again and i’m having the same problem, if i don’t use it in Create Widget then i don’t have the problem, so it must be some kind of circular dependency added in 4.8, because i don’t have it in 4.7.

After a lot of experimentation i was able to find a way to make it work. Right now the 4 classes that were mentioned have a Load call in the Event Construct, but the target is the Parent Class (Single Slot or Item Table Slot), if i do a Load call from another place other than class itself the target is always Base Slot, so i copied that node and used it instead of the one i’m getting inside the class and it worked. It still calls the override from the Parent Class even though it says it’s gonna call on Base Slot. I still think this is a bug, because calling Single Slot::Load or BaseSlot::Load should do different things and the target shouldn’t be BaseSlot if there is an override on a closer parent class of the hierarchy.

Hello xlar8or,

I am happy that you have it working on your end. If you could provide a detailed list of steps to reproduce the issue on our end I will be happy to look into it for you. For now though I am going to go ahead and mark your last comment as answer.

Make it a great day

I think it might have to do with UMG class hierarchy. I did Base Slot and from that i did Item Table Slot and Single Slot. On Base slot i have an empty Load method which returns bool and i override it in child classes. On the event construct of those child classes i call Load. As soon as i used the class in a Create Widget the issue would appear, if i didn’t use it there, it was ok. Don’t know what else i can say to help you reproduce. Maybe in the future i can release a part of the umg widgets i used and you can see for yourself.

Hello xlar8or,

That sounds good, I am going to accept your previous response as an answer for now. If in the future you could provide the parts of your umg that were used so that we could take a closer look that would be very helpful and I will be more than happy to investigate further.

Make it a great day