Description

When a function takes an interface as a parameter, calling that function from a blueprint implementing the interface does not recognize the parameter unless the blueprint's parent class directly inherits the interface.

Regression:
No- behavior occurs in 4.14.3 binary (Cl 3249277)

Steps to Reproduce
  1. Open attached project
  2. PIE & Press "Y"
    • note "NewBlueprint_### is printed to screen (newListener is set)
  3. In VS, open MyActor.h
  4. Comment out `, public ITestInterface`
  5. Compile
  6. In the editor, open TestActor
  7. Click Class Settings and Add Test Interface in Details panel
  8. Compile TestActor
  9. PIE & Press Y

Result:
newListener variable is not set

Expected:
When the blueprint implements the interface, calling function recognizes value passed in as interface reference

Have Comments or More Details?

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

2
Login to Vote

Won't Fix
ComponentUE - Gameplay - Blueprint
Affects Versions4.15
CreatedMar 16, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue