Description

If I set a certain default value for a struct within another struct, it is reset to "None" and the value is not accepted. Below are detailed steps to reproduce as well as a minimal project.

Source: Answerhub
https://answers.unrealengine.com/questions/736247/default-value-for-bp-struct-within-bp-struct-not-s.html

Steps to Reproduce

(Test project provided below)

1 Create a BP Class derived from Character, call it "BaseCharacter".

2 Create a BP Class derived from BaseCharacter, call it "DerivedCharacter".

3 Create a BP struct named "InnerStruct" with a variable of Type "BaseCharacter Class". Set its default value to "BaseCharacter".

4 Create a BP struct named "OuterStruct" with a variable of Type "InnerStruct".

5 Open OuterStruct. Change the "InnerStruct" default within OuterStruct to "BaseCharacter". Save, close and reopen "OuterStruct".

Default value will be reset to "None" (expected: BaseCharacter).

Setting the default Value to "DerivedCharacter" will work as expected.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

3
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.18
Target Fix4.19
Fix Commit3819320
Main Commit3856245
Release Commit3819320
CreatedDec 15, 2017
ResolvedJan 2, 2018
UpdatedApr 27, 2018
View Jira Issue