So I do this:
if (ActiveEffectsTagsMap.Contains(Tag))
On map which looks like this:
TMap<FName, FGAEffectContainer> ActiveEffectsTagsMap;
And here is struct:
USTRUCT()
struct GAMEATTRIBUTES_API FGAEffectContainer
{
GENERATED_USTRUCT_BODY()
public:
TMap<FName, FGAActiveEffect> ActiveEffectsMap;//class name, active effect
};
And this causes error here:
FSetElementId FindId(KeyInitType Key) const
{
if(HashSize)
{
In Set.h
Though HashSize is just int32. so I guess it shouldn’t crash, it should pass and return nothing.