Given a TMap where the value type is an instanced object: when a child blueprint is saved with modifications to the TMap, and then additional TMap are added to the parent blueprint and the child blueprint reloaded, the new key-value pairs appear in the child blueprint as shallow copies of the instanced object. Making modifications to the child's instanced object also affects the parent's values.
Repro steps:
UPROPERTY(EditAnywhere, AdvancedDisplay, Instanced, Category = AssetUserData) TMap<int32, TObjectPtr<UAssetUserData>> MyMap;
Additional info: Interestingly even after restarting the editor the parent and child blueprints point to the same instanced object.
How do I set a material as a post-processing material?
Why does the REMOVE method of map container remove elements have memory leaks?
What is the difference between Camera and CineCamera?
unreal engine view point not showing how to solve this
What controls of umg have mouse wheel events in UE4.27?
What ConsoleCommand can be executed to improve the quality of pixel stream images?
What went wrong with the UE4 Custom Node code format?
Why does the system plugin 'UnrealBuildTool' error could not be found when the project is compiled?
How do i add a 0 before a countdown I've made when its below 9
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-191114 in the post.
1 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 5.2 |
Target Fix | 5.4 |
Created | Jul 25, 2023 |
---|---|
Resolved | Dec 20, 2023 |
Updated | Apr 19, 2024 |