Description

If the user calls a function (We will call it "Parent's Function") from a child blueprint and then turns around and tries to call that implementation of the Parent's Function with in the parent it's self the user will get the following error (the function is being call from a spawn actor from class node in this example)

Warning [0227.34] Compile of Parent failed. 3 Fatal Issue(s) 0 Warning(s) [in 427 ms]
Error COMPILER ERROR: failed building connection with 'Child Reference is not compatible with Self Reference.' at SpawnActor Child

Error The current value of the ' Spawn Transform ' pin is invalid: 'Spawn Transform' must have an input wired into it ("by ref" params expect a valid input to operate on).

Image is attached for reference

Steps to Reproduce
  1. Open Editor
  2. Create a new Actor blueprint
    Right click content browser > Blueprints > Actor
  3. Name the Actor "Parent"
  4. Create a new Actor blueprint
    Right click content browser > Blueprints > Actor
  5. Name the Actor "Child"
  6. Open Child blueprint
  7. Make "Parent" the blueprint of "Child"
  8. Compile and save
  9. Open parent blueprint
  10. Create a new function and Name it "ParentsFunction"
  11. Open the child blueprint
  12. Call the function of begin play (see attached image for reference)
  13. Compile and save
  14. Open the Parent blueprint
  15. Create the blueprint shown for the Parent blueprint in the attached image
  16. Compile and save
  17. Notice the error that is given saying that that function as an incorrect target

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.7.64.84.9
Target Fix4.11
Fix Commit2816056
Main Commit2818924
Release Commit2816056
CreatedMay 14, 2015
ResolvedJan 5, 2016
UpdatedApr 27, 2018
View Jira Issue