Hello,
I’m having a strange error while packaging a project.
I have an UMG widget (PanelUIBP) with some functions declared. Then I have some other widget that inherit from that widget (i.e. SaveLayoutUIBP) to reuse that functions functionality.
Everything works fine in editor, with no issues. But when I package the project, an error arises:
LogBlueprint:Error: [compiler GameUIBP] Error COMPILER ERROR: failed building connection with 'Save Layout UIBP Reference is not compatible with Panel UIBP Reference.' at Create Widget
Of course, SaveLayoutUIBP is a direct class children of PanelUIBP. As a workaround, I can cast the reference to PanelUIBP, and then I can package the project. But then I have a warning which is somewhat annoying:
LogBlueprint:Warning: [compiler GameUIBP] Warning 'ReturnValue' is already a 'Save Layout UIBP' (which inherits from 'Panel UIBP'), so you don't need Cast To PanelUIBP .