The use of AutoCreateRefTerm will dynamically change the return type of this function. However, it appears that we lose this type information after node expansion. If you view enable developer artifacts, you can see that the return type of the GetContext node is actually incorrect. However, it is correct in the original graph. It seems like something bad happens when we duplicate the graph.

Steps to Reproduce
  1. Download attached project.
  2. Build and run the editor.
  3. Open Content/UI/HUD/WBP_HUDScreen.uasset.
  4. Compile Blueprint.
  5. Observe error.
  6. Expected behavior: no compilation errors.

Have Comments or More Details?

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

Login to Vote

ComponentUE - Gameplay - Blueprint Compiler
Affects Versions5.1
CreatedMar 14, 2023
UpdatedFeb 13, 2024