Project Crashes On Load

I was setting up the OnlineSubsystemEOS for my game and everything works fine until I add

[OnlineSubsystemEOS]
bEnabled=true

[OnlineSubsystem]
DefaultPlatformService=EOS

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

[/Script/OnlineSubsystemEOS.NetDriverEOS]
bIsUsingP2PSockets=true

to my DefaultEngine.ini file. Once this is added it crashes the project on load. I don’t know what I’m doing wrong, since I got it from the documentation here : The EOS Online Subsytem (OSS) Plugin | Unreal Engine 4.27 Documentation
When the game crashes it brings up the crash log with this error

Assertion failed: IsValid() [File:D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Public\Templates/SharedPointer.h] [Line: 890]

UE4Editor_Core
UE4Editor_Core
UE4Editor_OnlineSubsystemEOS
UE4Editor_OnlineSubsystemEOS
UE4Editor_OnlineSubsystem
UE4Editor_OnlineSubsystem
UE4Editor_OnlineSubsystem
UE4Editor_OnlineSubsystem
UE4Editor_Core
UE4Editor_Projects
UE4Editor_Projects
UE4Editor_Projects
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
kernel32
ntdll

Please help, I don’t know what to do.
Thanks in advance!

Have you tried the contents of this post?

I tried and it doesn’t work

1 Like

Sorry, but I’m not sure what to try from here :confused:

If anyone is still struggling with this then the solution (4.27.2 - Plus) is to add encryption keys to your artifacts. The easiest way to do this is via the project settings menu ( ProjectSetting->Plugin->OnlineSubsystemEOS ), and the encryption keys is must be 64 character long hex values. After you’ve done that you can set your DefaultPlatformService back to EOS and all should be well.

1 Like

yes, it’s work for me