Blueprints that include a macro that includes one of their own functions are unable to compile. The error message that is given is:
Error Could not find a function named "MyFunction" in 'ActorBP_C'.
Make sure 'ActorBP_C' has been compiled for My Function
This also occurred in 4.14
Steps to Reproduce
Create a new Actor Blueprint (ActorBP)
Add a new function and compile/save
Create a new blueprint macro library based off Actor
In the new macro, add an exec input/output and an ActorBP reference as an input
From the ActorBP input, call the function created in step 2 and connect it to the exec in/out pins
Inside of ActorBP, call the new macro on BeginPlay and compile the blueprint
Result: The compile fails, mentioning "Error Could not find a function named "MyFunction" in 'ActorBP_C'. Make sure 'ActorBP_C' has been compiled for My Function"
Expected: The compile succeeds
Have Comments or More Details?
Head over to the existingAnswerHub thread and let us know what's up.