Description

The issue is due to the UK2Node_PureAssignmentStatement node that's created during node expansion when AutoCreateRefTerm is used on the target function. In the attached DOTBug image, you can see that this node's return value does not correspond to the derived type specified in the Value field.

Essentially, we need to propagate DeterminesOutputType support to the assignment node, which should ensure that it has the correct return value type.

Steps to Reproduce
  1. Download and unzip attached project.
  2. Run editor.
  3. Open BP_TestActor.
  4. Compile.
  5. Observe errors.
  6. Expected behavior: no errors.

Have Comments or More Details?

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

2
Login to Vote

Backlogged
ComponentUE - Gameplay - Blueprint Compiler
Affects Versions5.3
CreatedJan 19, 2024
UpdatedJan 23, 2024
View Jira Issue