Compile error with Local Variable of a Struct that contains a Set or Map type.
Standard and array variables work without issue. Non-local variables also work without issue.
1. Open QA-Game
2. Create a Struct & open it
3. Make the member a String variable of type Set (other variables have this issue as well; byte,
4. Save
5. Make an actor class BP & open it
6. Create a Function
7. Add a Local variable of the struct that was created
8. Compile the BP
Results: You will receive a compile error that reads: Error: It is not possible to express this type (Set Property) as a literal value for the property MySet on pin "None" ! If it is inside a struct, you can add a Make struct node to resolve this issue!
Expected: For this type of variable to be used as a local variable without issue
Head over to the existing Questions & Answers thread and let us know what's up.
3 |
Component | UE - Gameplay |
---|---|
Affects Versions | 4.15, 4.16 |
Target Fix | 4.16 |
Created | Mar 7, 2017 |
---|---|
Resolved | Apr 11, 2017 |
Updated | May 12, 2017 |