For TMap variables of type struct created in blueprint, if change the default value in child blueprint and compile, it will restore to the default value of the parent actor.
This problem does not occur when a C++ struct is used for the TMap variable.
1. Open the attached sample project in editor.
2. Open "BP_Child" blueprint.
3. Set "false" in bool property. [Struct->Key(S_Struct)->MemberVar_0]
4. Compile blueprint.
Then, the bool value will restore to the default value (true).
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
How to delete some elements correctly when deleting an array loop?
How do I set a material as a post-processing material?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
What is the difference between Camera and CineCamera?
How to implement springarm components to scale according to mouse position in spawn?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-124976 in the post.
1 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.26, 4.26.2, 4.27 |
Created | Sep 1, 2021 |
---|---|
Updated | Dec 22, 2023 |