Closed BestStream closed 5 months ago
2024-05-07T15:03:41.599 LogEOSIntegratedPlatform (Error): Invalid parameter EOS_IntegratedPlatform_Steam_Options.SteamMajorVersion reason: Required to be at least 1.
2024-05-07T15:03:41.599 LogEOSIntegratedPlatform (Error): Invalid parameter Options reason: failed validation: EOS_InvalidParameters
You need to set the Steam SDK version numbers here:
In Tools -> EOS Plugin -> EOS Configuration -> Steam
See here for the documentation.
@paulhazen Thank you for the answer! But I don't use Steam, I'm trying to build a version for Epic Games. This error looks uncritical (although I will of course try to enter the version as you recommend, just in case). The critical error is below in this place. I can't understand the reason for it.
NullReferenceException: Object reference not set to an instance of an object.
at PlayEveryWare.EpicOnlineServices.EOSManager+EOSSingleton.MakeLoginOptions (Epic.OnlineServices.Auth.LoginCredentialType loginType, Epic.OnlineServices.ExternalCredentialType externalCredentialType, System.String id, System.String token)
at PlayEveryWare.EpicOnlineServices.EOSManager+EOSSingleton.StartLoginWithLoginTypeAndToken (Epic.OnlineServices.Auth.LoginCredentialType loginType, Epic.OnlineServices.ExternalCredentialType externalCredentialType, System.String id, System.String token, PlayEveryWare.EpicOnlineServices.EOSManager+OnAuthLoginCallback onLoginCallback)
at PlayEveryWare.EpicOnlineServices.EOSManager+EOSSingleton.StartPersistentLogin
@paulhazen I added the version and it did not help as expected
The problem is somewhere here. Probably for some reason loadedEOSConfig is null
LoginOptions MakeLoginOptions...
...
return new LoginOptions
{
Credentials = loginCredentials,
ScopeFlags = loadedEOSConfig.authScopeOptionsFlags.Count > 0
? loadedEOSConfig.authScopeOptionsFlagsAsAuthScopeFlags()
: defaultScopeFlags
};
@paulhazen With help of more logs, I finally found the problem!
Before instantiating of EOSManager, I checked whether the plugin was initialized like this: IsInit() => EOSManager.Instance != null && EOSManager.Instance.GetEOSPlatformInterface() != null
Now I understand that this is not a right way, but for some magical reason it worked in the Editor and Mac builds (IsInit returning false before EOSManager instantiating), but not in the Windows build (IsInit returning truth before EOSManager instantiating)
Here is the error log, please advise what the problem is