No longer able to reproduce the issue in released 4.9.2
If an array of custom UObjects is added to a class, changing the value of a UPROPERTY variable in one element of the array sets the same value in all elements of the array.
public: UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (ExposeOnSpawn)) float SomeValue;
public:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Instanced)
TArray<TSubclassOf<UMyObject>> MyClassesArray;
RESULT:
The same value is placed into the Some Value variable for each element in the array.
EXPECTED:
The only value that is changed is the one that was selected.
How to delete some elements correctly when deleting an array loop?
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?
What is the difference between Camera and CineCamera?
How do I set a material as a post-processing material?
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.6.1, 4.8 |
Target Fix | 0 |
Created | Dec 29, 2014 |
---|---|
Resolved | Oct 6, 2015 |
Updated | Apr 27, 2018 |