EOS API failed to initialize! (Epic Online Services)

I have a nasty error in logs while using Epic Online Service…
I have registered my application on https://dev.epicgames.com/portal/ to get everything for EOS plugin to work…

In DefaultEngine.ini i have added things that are written on The EOS Online Subsytem (OSS) Plugin | Unreal Engine Documentation

[OnlineSubsystemEOS]
bEnabled=true

[OnlineSubsystem]
DefaultPlatformService=EOS

[/Script/Engine.GameEngine]
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemEOS.NetDriverEOS",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")

[/Script/OnlineSubsystemEOS.NetDriverEOS]
bIsUsingP2PSockets=true

This is the error that I get…

LogOnline: Warning: OSS: TryLoadSubsystemAndSetDefault: OnlineFactories does not contain [EOS]
LogOnline: OSS: Creating online subsystem instance for: NULL
LogOnline: OSS: TryLoadSubsystemAndSetDefault: Loaded subsystem for module [NULL]
LogOnline: Warning: OSS: EOSPlus failed to find the native OSS!

...

[2022.04.09-06.14.00:879][465]LogOnline: OSS: Creating online subsystem instance for: EOS
[2022.04.09-06.14.00:879][465]LogOnline: Warning: OSS: EOS API failed to initialize!
[2022.04.09-06.14.00:879][465]LogOnline: OSS: Unable to create OnlineSubsystem module EOS
[2022.04.09-06.14.00:879][465]LogOnline: OSS: Creating online subsystem instance for: NULL
[2022.04.09-06.14.00:881][465]LogOnline: OSS: TryLoadSubsystemAndSetDefault: Loaded subsystem for module [NULL]

Please enyone, help me :frowning:

1 Like

In the encryption key try putting 64 zeros

I reinstalled the unreal engine and upgrade from 5.0 alpha to the official 5.0.0 release and now I get a different errors…

LogEOSSDK: Initializing EOSSDK Version:1.14.2-18804606
LogEOSSDK: LogEOS: [Boot] EOSSDK Version 1.14.2-18804606 booting at 2022-04-09T22:42:06.373Z
LogEOSSDK: Error: LogEOS: Encryption key cannot be empty
LogEOSSDK: Error: LogEOS: Invalid input platform options. EOS_EResult: EOS_NotConfigured
LogEOSSDK: Warning: FEOSSDKManager::CreatePlatform failed. EosPlatformHandle=nullptr
LogOnline: Error: OSS: FOnlineSubsystemEOS::PlatformCreate() failed to init EOS platform
LogOnline: Warning: OSS: EOS API failed to initialize!
LogOnline: OSS: Unable to create OnlineSubsystem module EOS

I followed your advice @anonymous_user_ee64ce6c and get this issue resolved…
Thank you for your assistance!!!

64 times zero or 640 ??. My project crash after config

Just generate an encryption key online. Use this one for example, select 256-bit, enable the “Hex?” option.

1 Like