These seem like two different problems. First, who knows their number in Fortnite, LoL, Battle.net or any other gaming service which use the same kind of naming scheme? Probably most don’t. And I don’t see why anyone needs to know this. Just copy paste the thing.
Which brings me to second: maybe the UI around inviting friends and/or copy-pasting a username#number is not clear enough and this metric could be improved with better UI?