Cannot understand OnlineSubsystemEOS Error Logs

I’m trying to integrate OnlineSubsystemEOS and eventually EOS Plus into my multiplayer game that I am working on. I started by creating a login function where if you press a button it will bring the client to the login screen and then on a successful login, it will display the player’s username in the UI as well.

However, when I am running as standalone, the logs show that after the player has successfully logged in, when the UI tries to get player username, it spams the log with the following error:

LogEOSSDK: Warning: LogEOSRTC: FRTCClient::GetTargetPlatformTypePrivate: Unable to find local user 000...cb1

I did some further digging in my logs and I also found this

LogEOSSDK: Warning: LogEOS: FEpicGamesPlatform::GetOnlinePlatformType - unable to map None to EOS_OnlinePlatformType

I was wondering if there was something wrong that I was doing since it appears that I was able to log in successfully and my login complete delegate was able to log a “Login successful”.

Thanks in advance!

Hi!

We were seeing this, too, and traced it to calls to getting the display name of friends without passing the platform in.

There is one call in UserManagerEOS.cpp that has

else if (Friend->GetDisplayName().IsEmpty())

If you change it to:

else if (Friend->GetDisplayName(Text("Epic")).IsEmpty())

the message goes away.

We had another instance in our own code as well we had to fix.

Hope that helps,
Brent