Original message (verbatim)
LogBlueprint: Error: [Compiler] Can't connect pins Return Value and Object : This cast has an invalid target type (was the class deleted without a redirect?).
Placeholders such as %s / %d are kept verbatim from the engine source and are not replaced with concrete values.
Trigger
The target class of a Cast node in the blueprint was deleted or its redirector is missing, so the input and output pin types are invalid and the Return Value and Object pins cannot connect at compile time.
Typical cause
The cached target class on the Cast node is stale, the pin types no longer match the current class, and the compiler flags an invalid target type.
Step-by-step fix
- Delete the invalid cast node and place a new one for the current class.
- Confirm the cast target class still exists and its redirector is valid.
- Compile the blueprint and remove any remaining warning-marked nodes.
Source links
Per-entry sources and capture date are listed at /sources#UE05.
Related errors
Related Unreal errors
Need an offline quick-reference checklist?
Atlas error library Pro pack: 123 error references (110 single + 13 merged) plus a quick-fix guide, $19 one-time purchase, delivered as electronic files.
Back to the all-errors index Checkout and buy the Pro pack — $19.00