Description

This is a regression that was introduced by the fix for [Link Removed].

The fix makes an invalid assumption that instances of components whose archetypes are inherited by a non-nativized child Blueprint class from a nativized Blueprint parent class will be instanced after we call PostLoad() on the Blueprint CDO when EDL is enabled. This is not the case, so the instances are being constructed based on the nativized archetype (default subobject) before it can be updated with the child class override data.

Steps to Reproduce
  1. Open the attached project.
  2. Open the 'NewMap' level.
  3. PIE, and notice that '1' is printed to the console.
  4. Choose File->Package Project->Windows->Win64.
  5. Run the packaged game. Notice that '0' is printed.
    Expected result: Should see the same result between PIE and cooked build.

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.21
Target Fix4.21
Fix Commit4365827
Main Commit4736445
Release Commit4426031
CreatedSep 5, 2018
ResolvedSep 14, 2018
UpdatedJan 16, 2019
View Jira Issue