You can use USTRUCT as a TMap key if you define a version of GetTypeHash for it, and operator==. See GetTypeHash You can use TObjectKey if you want to use a UObject as the key for a TMap