Home / Unreal / UE05

Unreal error: 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?). — cause and fix

The target class of a Cast node in the blueprint was deleted or its redirector is missing,

ID
UE05
Engine
Unreal
Verification
原文命中(抓取页面)
Frequency
论坛点赞=0; 回复=1

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

  1. Delete the invalid cast node and place a new one for the current class.
  2. Confirm the cast target class still exists and its redirector is valid.
  3. 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.

View Pro pack / order

Back to the all-errors index Checkout and buy the Pro pack — $19.00