Description

Copying values of an array created through C++ does not copy all values, only the first value is copied over. This is different than an array that is created in blueprints when those are copied they print out all the values of the array. This issue is not a regression.

Versions Tested:
4.15.3 - CL: 3450819
4.16.3 - CL: 3561208
4.17.1 - CL: 3586342
Issue occurs in all versions tested

Steps to Reproduce
  1. Create a new C++ Project
  2. Create C++ MyActor based on AActor
  3. In MyActor.h set up the blueprint like the image provided
  4. Build the project
  5. Create a Blueprint based on MyActor
  6. Open Blueprint and try to copy whole MyArray to clipboard, by right-clicking on it and selecting Copy
  7. Paste clipboard into some text editor or notepad
    Result: only the first value is printed
    Expected: The whole array is printed

Have Comments or More Details?

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

3
Login to Vote

Won't Fix
ComponentTools
Affects Versions4.15.34.16.34.17.1
CreatedAug 24, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue