Description

The ConstructObjectFromClass node no longer allows connections to the "Outer" input pin that are not of a type that's derived from the current Blueprint class (self).

Previously, users could connect any UObject type to the "Outer" pin.

Steps to Reproduce
  1. Create a new Actor-based Blueprint class asset (NewBlueprint).
  2. Create a new variable of type "Object Reference."
  3. Drag the variable into the Event Graph and create a "Get" node.
  4. Right-click in the Event Graph, then choose "ConstructObjectFromClass"
  5. Attempt to drag the "Get" node's output to the "Outer" input pin. Note that it's not allowed because the pin type is not compatible.
  6. Create a new variable of type "NewBlueprint."
  7. Drag the variable into the Event Graph and create another "Get" node.
  8. Attempt to drag the "Get" node's output to the "Outer" input pin. Note that now it is allowed.
    Expected result: Both types should be allowed to be connected to the "Outer" input pin, as this is how it was working previously.
Callstack

N/A

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-126781 in the post.

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint Editor
Affects Versions5.0
Target Fix5.0
Fix Commit17529571
Main Commit17529571
CreatedSep 15, 2021
ResolvedSep 15, 2021
UpdatedNov 30, 2021