Hi there! I am glad you are enjoying my plugin!
I have code to ensure that duplication doesn’t happen, as I experienced it myself, and I am using exact code in my project and have not run into many duplicates, but I do include refresh rates.
Please try including refresh rates to see if you actually have many different refresh rates, and if that is the I can come up with a solution if you dont need to see them .
Here’s the relevant C++ code
FString Str = "";
Str += FString::FromInt(EachResolution.Width);
Str += FString::FromInt(EachResolution.Height);
//Include Refresh Rates?
if(IncludeRefreshRates)
{
Str += FString::FromInt(EachResolution.RefreshRate);
}
if(Unique.Contains(Str))
{
//Skip! is duplicate!
continue;
}
else
{
//Add to Unique List!
Unique.AddUnique(Str);
}