When an instanced UObject property is added to a custom code Component class, changing the value of the property in a Blueprint that includes the custom Component only lasts until the Editor is closed. When the project is opened again in the Editor, the value of the property has reverted back to its default value.
This only happens if a default subobject is created for the instanced object property in the custom code Component class' constructor.
RESULT:
The Instanced Object Rep property has reverted back to "My Instanced Object."
EXPECTED:
The Instanced Object Rep property is still set to "BP Instanced Object."
WORKAROUND:
Do not create a default subobject for the instanced object property.
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
How do I set a material as a post-processing material?
How to delete some elements correctly when deleting an array loop?
What is the difference between Camera and CineCamera?
UMG RichText not appear image when packaged
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
How does TArray loop correctly remove elements in blueprints?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-67880 in the post.
3 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.21.1, 4.22, 4.20.3 |
Created | Dec 26, 2018 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 18, 2021 |