# UE 5.8: Blueprint Map "Find" fails every single time for Gameplay Attribute keys comparison

**URL:** <https://forums.unrealengine.com/t/ue-5-8-blueprint-map-find-fails-every-single-time-for-gameplay-attribute-keys-comparison/2763320>\
**Category:** Issues and Bug Reporting (Unreal Engine)\
**Tags:** Gameplay-Attributes, unreal-engine, Gameplay-Ability-System, Blueprint, CPP\
**Created:** [September 7, 2026, 8:45am UTC](https://forums.unrealengine.com/t/ue-5-8-blueprint-map-find-fails-every-single-time-for-gameplay-attribute-keys-comparison/2763320 "2026-09-07T08:45:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![epic\_simone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/epic_simone/32/1145418_2.png) [@epic\_simone](https://forums.unrealengine.com/u/epic_simone)\
**Post date:** [September 7, 2026, 8:45am UTC](https://forums.unrealengine.com/t/ue-5-8-blueprint-map-find-fails-every-single-time-for-gameplay-attribute-keys-comparison/2763320/1 "2026-09-07T08:45:59Z")

</div>

### Summary

UE 5.8: Blueprint Map Find fails for Gameplay Attribute keys that compare equal with the Gameplay Attribute == node.

The affected map is a local variable in a Blueprint Function Library, mapping Gameplay Attributes to Gameplay Effect classes. Diagnostics show that the matching map key has AttributeOwner=None, while the lookup attribute has AttributeOwner=PlayerAttributeSet. Their attribute names, property pointers, and hashes match.

### What Type of Bug are you experiencing?

Framework

### Steps to Reproduce

These steps describe the issue in my existing project; reproduction in a clean project has not yet been verified.

1. Define XP\_Technical in a C++ PlayerAttributeSet.
2. In a Blueprint Function Library function, create a local Map variable with Gameplay Attribute keys and Gameplay Effect Class values.
3. Populate the map defaults with PlayerAttributeSet.XP\_Technical and its Gameplay Effect class.
4. During play, use Map Find to look up PlayerAttributeSet.XP\_Technical. Found returns false.
5. Retrieve the map’s Keys and compare the matching key with the lookup attribute using Equal (Gameplay Attribute). This returns true.

### Expected Result

Map Find returns true and the associated Gameplay Effect class for the matching Gameplay Attribute. The same as the == does.

### Observed Result

Map Find returns false, although Gameplay Attribute == returns true.

Diagnostic comparison of the matching map key (A) and lookup attribute (B):

Native ==: true  
Reflected struct comparison (Map Identical): false  
Property pointers: identical  
Native and map hashes: identical  
AttributeName: XP\_Technical for both  
Attribute: PlayerAttributeSet:XP\_Technical for both  
AttributeOwner A: None  
AttributeOwner B: PlayerAttributeSet

UE’s Gameplay Attribute == compares the attribute property, while Blueprint Map Find uses reflected struct comparison, which also checks AttributeOwner.

Restarting Unreal and clearing/repopulating the map did not resolve the issue. The cause of the missing cached owner has not been determined.

### Affects Versions

5.8

### Platform(s)

Windows

---

<div class="post-metadata">

**Author:** ![ShadowBr0kerz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shadowbr0kerz/32/1201558_2.png) [@ShadowBr0kerz](https://forums.unrealengine.com/u/ShadowBr0kerz)\
**Post date:** [September 8, 2026, 9:35am UTC](https://forums.unrealengine.com/t/ue-5-8-blueprint-map-find-fails-every-single-time-for-gameplay-attribute-keys-comparison/2763320/2 "2026-09-08T09:35:15Z")

</div>

thats expected, GameplayAttribute == only checks the property, but BP Map Find uses Identical which also checks AttributeOwner.

your default key was built with AttributeOwner=None while the lookup has Owner=PlayerAttributeSet, so Identical fails even though == true. fix by building keys at runtime with GetAttributeInfo or by storing keys with owner set, not as literal defaults. or use a TMap\<FGameplayAttribute, …\> built in code where you control hashing.

workaround in BP: iterate Keys and Equal check manually instead of Map Find, that uses == not Identical.
