Description

A user was trying to cast to a child blueprint from the parent using a "Reference to self" variable as the target.

The warning messaged:
"Child" does not inherit from "Parent" (Cast to "Child" would always fail)

Steps to Reproduce
  1. Open Editor
  2. Create a new Actor blueprint
  3. Name the Actor blueprint "Parent"
  4. Create a new Actor blueprint
  5. Name it "Child"
  6. Open the "Child" blueprint
  7. Set the parent of "Child" to "Parent"
  8. Save and compile
  9. Open the "Parent" blueprint
  10. Create the blueprint in the attached image
  11. Compile
  12. Notice the warning appears to be incorrect

Expected: A warning that makes the issue more apparent
Result: Warning does not make the issue immediately clear to the user

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.8.24.16
CreatedJul 27, 2015
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue