Description

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.

Steps to Reproduce

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

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

3
Login to Vote

Fixed
ComponentUE - Gameplay
Affects Versions4.154.16
Target Fix4.16
Fix Commit3385583
Main Commit3431398
Release Commit3398058
CreatedMar 7, 2017
ResolvedApr 11, 2017
UpdatedMay 12, 2017