Description

REGRESSION: Yes, this does not occur in 4.21. This also occurred before CL 58120777, which fixed UE-47471

Duplicating or Copy/Pasting a component whose name ends in a number does not increment the name of the duplicate component correctly. It adds a "1" at the end instead of actually incrementing the number.

This occurs following the repro providing but there are inconsistencies with how the issue repro if you follow different steps (for example, if you do a chain of duped components, going back to a previous dupe and duping that, may result in correct name increments).

Steps to Reproduce

REPRO USING IWCE

  1. Open QAGame in editor.
  2. Select the Floor mesh.
  3. In the Details panel, add a Scene component.
  4. Select the Scene component and duplicated it (Scene1 is created).
  5. Select Scene1 and duplicate it.

ORIGINAL REPRO

  1. Open QAGame in editor.
  2. Create and open an actor blueprint.
  3. Add a scene component (name defaults to "Scene")
  4. Duplicate the component (duplicate name is "Scene1").
  5. Duplicate Scene1.

RESULT

Name of the new duplicate component is "Scene11".

EXPECTED

The name should be "Scene2"

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-72605 in the post.

1
Login to Vote

Fixed
ComponentGameplay - Components
Affects Versions4.22
Target Fix4.22.2
Fix Commit6516155
Main Commit5824374
CreatedApr 10, 2019
ResolvedMay 15, 2019
UpdatedMay 16, 2019