"Cast to" node fails even with the correct input

Greetings

I have a peculiar problem, my inheritance code suddenly stopped working after it has been working for +2 years. When I inspect the other object from from a collusion box hit event, I can see that it is the right object but some how up casting fails to work. Am I missing something?

Inheritance Structure
Parent → → Child
Character → AI_Master_BP → Al_SitOnChair_BP_SK_Body_New

Character → AI_Master_BP → Al_SitOnChair_BP_SK_Body

Errors from the blueprint.

Display name is Al_SitOnChair_BP_SK_Body_New, , Object name is Al_SitOnChair_BP_SK_Body_New_2 - FAILED TO CAST TO Al_SitOnChar_BP_SK_Body_New

Other Actor → Cast to “Al_SitOnChair_BP_SK_Body” fails.

Other Actor is of type “Al_SitOnChair_BP_SK_Body”

Display name is Al_SitOnChair_BP_SK_Body_New, , Object name is Al_SitOnChair_BP_SK_Body_New_2 - FAILED TO CAST TO Al_SitOnChair_BP_SK_Body_New

Hi there. You are casting to the last class in your Hierarchy, right? Everything is ok:

  • Character
  • AI_Master_BP
  • Al_SitOnChair_BP_SK_Body_New Character
  • AI_Master_BP → Al_SitOnChair_BP_SK_Body

Error message: Al_SitOnChair_BP_SK_Body_New is not Al_SitOnChar_BP_SK_Body. Thats true

Thank you very much for your response.

Other Actor → Cast to “Al_SitOnChair_BP_SK_Body” fails.

Other Actor is of type “Al_SitOnChair_BP_SK_Body”