Arrays & NoesisNotifyArrayPropertyPostAdd not updating Array.Count?
Posted: 09 Jul 2026, 11:43
Hey, in Unreal, using a C++ ViewModel, we've been following how to add to arrays how the docs mention, using NoesisNotifyArrayPropertyPostAdd.
However, we've notice if you add items later (e.g. not immediately), this isn't updating Array.Count when used in XAML. It's all working apart from that, the array items are appearing correctly, but the Count displays wrong.
Is that a bug, or do we need to do anything else to update it? Let me know if a bug, and I can log. We're using GUI 3.2.12.
Calling NoesisNotifyPropertyChanged() on the array does update it, but feels like that defeats the point of the NoesisNotifyArrayPropertyPostAdd().
Code: Select all
void UGameData::AddWeapon(UWeapon* Weapon)
{
Weapons.Add(Weapon);
NoesisNotifyArrayPropertyPostAdd(&Weapons);
}Is that a bug, or do we need to do anything else to update it? Let me know if a bug, and I can log. We're using GUI 3.2.12.
Calling NoesisNotifyPropertyChanged() on the array does update it, but feels like that defeats the point of the NoesisNotifyArrayPropertyPostAdd().