Copy-pasting an actor property that is a set of strings adds extra quotes and escapes

Issue: Copy-pasting the contents of a property is of type set of strings adds extra quotes and escapes.

The problem doesn’t happen for example for properties of type

  • set of integers, nor
  • string, nor
  • map of strings to strings.

When copying the set of strings property with a single value Foo, the value in the clipboard is (“Foo”). When pasting it, it becomes the literal single item “Foo” in the editor. Copying this yields (“\“Foo\””) in the clipboard, etc.

I expect the value to remain unchanged when I copy and paste it.

Steps to Reproduce

  1. Create a blueprint.
  2. Add to the blueprint a variable of type Set of Strings.
  3. Compile the blueprint.
  4. Set the new variables default value to contain one item that is the string Foo.
  5. Shift+RMB on the variable name (not the item inside the variable).
  6. Shift+LMB on the variable name.
  7. The single item is now “Foo” with added quotes.
  8. If you continue doing Shift+RMB and Shift+LMB, the value changes to “\“Foo\”” then “\”\\\“Foo\\\”\“”, etc.

Hello [mention removed]​

Thank you for reaching out and bringing this issue to our attention.

I was able to replicate the described behavior.

I’ll investigate some more and get back to you.

All the best,

[mention removed]​

Hello [mention removed]​

I’ve made a JIRA report at: Unreal Engine Issues and Bug Tracker (UE\-315179)

Please note that it can take some time to be made publicly accessible.

We don’t provide updates on EPS, but if you would like to track the resolution, check the link for the status.

I believe we don’t have further actionable issues, so I’ll close the case.

Feel free to reply if you have anything else to add.

All the best,

[mention removed]​

Incase anyone is having this issue while copy pasting an array of FName into another as such:


Steps to Solve:

  1. First copy from original:

  2. Then open notepad and paste into it:

("Item1","Item2","Item3")

and Edit out the " as follows and copy the entire thing:

(Item1,Item2,Item3)
  1. Paste into desired variable

And Voila! It gets pasted without extra "