When copying a Blueprint actor, Variables with brackets in their names don't have their values copied. IE: Creating a vector variable named "MyVector[]" This behavior also replicates with round brackets "()", square brackets "[]", and curly brackets "{}".

Steps to Reproduce
  1. Open up Unreal Engine 4.20
  2. Right click on Content folder-> Create new Blueprint Actor
  3. Inside of Actor Blueprint, add a Vector variable and name it "MyVector[]" or "MyVector()"
  4. Make the vector variable instance editable-> Compile & Save.
  5. Add the Blueprint Actor to the world space
  6. Edit the Blueprint Actor's MyVector[] variable to have a value.
  7. Duplicate the actor (alt click, or duplicate)
  8. Observe the new Actor's Vector Variable

Result: Vector variable values go back to defaults. (0,0,0)

Expected: Vector variable values copy onto the new Actor.

Have Comments or More Details?

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

Login to Vote

Won't Fix
ComponentUE - Gameplay
Affects Versions4.
CreatedOct 26, 2018
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue