You will see there is an error and a warning and the engine thinks that a “Child” reference could not hold a “Child_Child” variable.
As a workaround you can just use a “Parent” variable, then there are no errors or warnings after compile, but if you then compile the “Parent” blueprint the error and warning will pop up in the “Child” blueprint, until you hit compile in the “Child” blueprint again, then the error and warning is gone until you hit compile in the “Parent” blueprint, and so on.
With the workaround it works in PIE and standalone, but after packaging my game crashes after I try to spawn one of the Child_Childs, while one other Child_Child works and does not crash the game, so I’m not 100% sure whether it’s related to this. It’s definitely an annoying bug.
Thank you very much for pointing out this issue with child blueprints and spawn actors. I have successfully reproduced this issue and forwarded the bug to our developers. If you’d like to reference this bug in the future, please refer to: UE-17866
If you have any further questions, please let us know. Have a great day!
Hi, this bug is still in 4.9.1. Could you give any ETA on when this will be fixed? Also, if I change something in the “parent” and compile it, then I get a compile error in the “child” until I manually open the child and compile it, then there is no error.
Is this the place to provide community feedback and say that I too would like to see this issue fixed?
I was banging my head against a wall for quite a while until I stumbled across this thread, and I’m pretty sure it is why my grandchildren classes are failing in mysterious ways.