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
(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.
error message when install in U.E 5.3 - IS-IN-FCO2-82
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
UMG RichText not appear image when packaged
How do I set a material as a post-processing material?
How to delete some elements correctly when deleting an array loop?
Head over to the existing Questions & Answers thread and let us know what's up.
3 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.18 |
Target Fix | 4.19 |
Created | Dec 15, 2017 |
---|---|
Resolved | Jan 2, 2018 |
Updated | Apr 27, 2018 |