UARBlueprintLibrary::RemoveAllARPinsFromLocalStore(); doesn’t work for Blueprint or C++.
You have to loop through all the saved arpin, and delete them one by one.
*// Load all saved AR pins from the local store*
TMap<FName, UARPin*> AllPins = UARBlueprintLibrary::LoadARPinsFromLocalStore();
*// Iterate through all pins and remove them*
for (const auto& PinPair : AllPins){
FName PinID = PinPair.Key;
UARPin* Pin = PinPair.Value;
if (!Pin){continue;}
// Remove the pin from the local store
UARBlueprintLibrary::RemoveARPinFromLocalStore(PinID);
}