When using a variable that has been setup to be a container of the type "Set" or "Map" and error will be thrown when connecting an exposed input pin to a custom event.

Steps to Reproduce
  1. Open the editor
  2. Create a new blueprint
  3. Add a new variable
  4. Set to be an integer
  5. Set the variable to be a container of the type "Set" (represented by {})
  6. Make the variable editable
  7. Make the variable exposed on spawn
  8. Save and compile
  9. Open the level blueprint
  10. Create the blueprint in the attached image
  11. Compile

Result: The spawn actor node will throw an error similar to "COMPILER ERROR: failed building connection with 'Integer is not compatible with Set of Integers.' at SpawnActor Tmap Test"

Expected: The spawn actor node would compile without error

Have Comments or More Details?

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

Login to Vote

ComponentUE - Gameplay - Blueprint
Affects Versions4.16.2
Target Fix4.17
Fix Commit3534059
Main Commit3555226
Release Commit3534059
CreatedJul 12, 2017
ResolvedJul 12, 2017
UpdatedApr 27, 2018