Description

Instantiation of subobjects does not behave as expected when using the DefaultToInstanced UCLASS specifier. The licensee that reported the issue provided a sample project with some ensures added where the instantiated subobjects are not what they are expected to be.

Update Tim Lincoln: The licensee speculates that the problem may lie in "StaticDuplicateObjectEx from UObjectGlobals."

Steps to Reproduce

NOTE: This may have already been fixed in CL 2738129 in the 4.10 branch (for [Link Removed]).

  1. Download the attached project.
  2. Associate the project with your version of the Engine.
  3. Open the project in the Editor.
  4. Open the Output Log window.
  5. Open the BP_MyGameMode Blueprint.
  6. Click Play to start PIE.

RESULT:
Several ensures fail when opening the Blueprint and when starting PIE because the instantiated subobjects do not match what is expected.

EXPECTED:
No ensures are triggered.

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.8.34.94.10
Target Fix4.13
Fix Commit2738129
CreatedAug 13, 2015
ResolvedMay 26, 2016
UpdatedApr 27, 2018
View Jira Issue