Context
AbilitySystemComponent has a virtual function
virtual void OnTagUpdated(const FGameplayTag& Tag, bool TagExists);
that gets called when a gameplay tag gets added or removed, so whenever a gameplay tag's count changes states between zero and non-zero.
Problem
A licensee has reported that this function is not called when setting a tag's count directly via
void UAbilitySystemComponent::SetLooseGameplayTagCount(const FGameplayTag& GameplayTag, int32 NewCount);
while it does get called via other APIs like Add/RemoveLooseGameplayTagCount(). I confirmed both those observations.
Suggestion
SetLooseGameplayTagCount() should cause OnTagUpdated() to be called when the call causes the tag to change states between present and not-present.
Non-fatal, just for reference:
> [Inline Frame] UnrealEditor-GASRepro53.dll!UAbilitySystemComponent::SetTagMapCount(const FGameplayTag &) Line 622 C++
[Inline Frame] UnrealEditor-GASRepro53.dll!UAbilitySystemComponent::SetLooseGameplayTagCount(const FGameplayTag &) Line 687 C++
I am not able to find world outliner how to enable it?
What method is used to fill polygonal regions when drawing spline mesh at run time?
How does TextureRenderTarget2D get TArray<uint8> type data?
How can i modify the param name in EQS node
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-233798 in the post.