failed building connection [...] Child Reference is not compatible with Parent (4.10, Blueprint)
I've been having problems on UE 4.10.4 where children actors of a parent aren't being allowed to be used as their parents. The specific example I've got is one in which there is a ParentSpell actor, and a SpellTeleport (which is a child of the ParentSpell). My HUD includes a spellbook widget with a function to add a spell to it, which takes a ParentSpell reference as an input. So, here's the blueprint where I spawn the SpellTeleport and try to add it to the spellbook:
This works fine with PIE. However, when I try to package the project, I get the following error:
As it turns out, if I cast the spawned SpellTeleport to a SpellTeleport and pass that along into the SpellBook, it withs with PIE as well as packaging the project. However, it generates some pretty nasty warnings (which by default won't save the blueprint on compile):
It happens with all instances of my Spells that are children of ParentSpell, but it's highly inconsistent. My SpellTeleport worked fine in a different blueprint doing the exact same thing, but it refused to work in this one no matter how many times I recreated it and every component surrounding it. (seriously, lots of man-hours on this, it was a frustrating weekend)
This issue appears to be the same as the one reported for UE 4.3 on https://answers.unrealengine.com/questions/71488/derived-blueprint-compiling-errors-and-inconsisten.html .
I'm uploading a copy of my project to mega right now. Would any staff members want a copy of it, preferably linked via direct/private message?
asked Mar 21 '16 at 09:03 PM in Bug Reports
Have you tried casting the resulting spawned actor to the class that it should be (as is listed in the original post with the second screenshot)? That was a workaround for my issue at the time, despite the warnings.
answered Jul 23 '16 at 01:13 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here