Description

Warning in the output log when switching a local variable from struct to Enum

Steps to Reproduce
  1. Open editor
  2. Create a structure and name it "Struct S"
  3. Create an Enum and name it "Enum E" with 2 entries
  4. Create a function inside a blueprint with a local variable of type Struct S
  5. Compile the blueprint
  6. Change the local variable type from Struct S to Enum E
  7. Compile -> the warning will show up in the output log
  8. Change the default value of the local variable to the 2nd entry of the enum
  9. Compile -> no warning anymore
  10. Change the default value of the local variable back to the 1st entry
  11. Compile -> no warning

Have Comments or More Details?

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

0
Login to Vote

Cannot Reproduce
ComponentUE - Gameplay - Blueprint
Affects Versions4.10.4
CreatedMar 14, 2016
ResolvedApr 25, 2017
UpdatedApr 27, 2017
View Jira Issue