What's the best way to log into EOS/EAC using Steam credentials using OnlineSubsystemEOS instead of the downloadable EOSSDK?

I’ve experimented with several permutations of logging in using external auth from Steam in order to get EAC setup. The portal is configured, I can package the game, and use the EAC launcher. Everything is fine up to the point where I try to auth into EOS with Steam credentials transparently and I can’t figure out the right combination.

I’ve tried various different settings in the ini (below) – new login, old login. Different credential types (Steam with different cases, externalauth). It just fails to complete the log in. Things like `LogOnline: Warning: EOS: Unable to Login() user (0). External Auth Token Type not specified.` (or with `steam` etc.).

Not sure what I’m missing, there’s so many combinations and have stepped through the debugger trying to get as far as I can (hence trying externalauth).

I am getting correct steam credentials including an auth ticket via this code that calls my delegate:

FString forEpicOnlineServices = TEXT("epiconlineservices");
SteamSubsystem->GetAuthInterface()->GetAuthTicketForWebApi(forEpicOnlineServices, AuthTicketCompleteDelegate);

I also wanted to note that the EAC integration documentation seems to be really old school depending on the low level EOSSDK samples, while the `OnlineSubsystemEOS` is a much nicer API, but I can’t seem to find good guides on how best to do this. Please help, thank you!

I did download the SDK in order to pull the EAC dist and made my own plugin, that part seems fine in my cooked client builds.

Hello! Some of these workflows vary by Unreal Engine version, could you please confirm the version that you’re using, and whether or not you’re using EOSPlus?

I also see that you’ve set bUseEAS to true and I wanted to check if this was intended?

This instructs the plugin to log in to Steam, then log in to Epic Account Services using a Steam token, then log in to Epic Online Services using the Epic account token.

If you wanted to log into Epic Online Services directly with a Steam account, then you should set bUseEAS to false.

Additionally, your Steam Identity Provider settings are also only associated with the Live sandbox.

To log in to the (private) Dev or Stage sandboxes, you will need to associate the Steam IdP config with these sandboxes.

You will also need to create a Player Group to grant your Steam accounts access to these private deployments.

https://dev.epicgames.com/docs/dev-portal/product-management\#player-groups

Please refer to the “Platform Components” section of the Anti-Cheat documentation, which explains the binaries that must be included in your client builds and outlines the workflow for starting your game.

Be sure to distribute files in the “SDK/Tools/EOS_AntiCheatTools-<platform_info>/dist” subdirectory to players as part of the game client.

https://dev.epicgames.com/docs/game-services/anti-cheat/anti-cheat-interfaces\#platform-components

You will need to run the “Windows Service Installer” installation commands, and launch the game using the “start_protected_game.exe” Anti-Cheat Bootstrapper.

Hi, that was one of the very first things I did, and all of that stuff is there. It’s specifically the `EasyAntiCheat_x64.dll` I can’t seem to find and it’s not part of the dist or even the documentation. My understanding is you might need special permissions to download it.

If it’s no longer needed or embedded into the EOSSDK-Win64-Shipping.dll, then it’s not currently working. Because I’m using OnlineSubsystemEOS, that one automatically packages that dll with the game. But it doesn’t contain the AntiCheat API. For that, I’m using the EOSSDK module which is also part of the engine. That gives me the anti cheat API.

First time I make a call into anticheat `EOS_Platform_GetAntiCheatClientInterface(EOS_HPlatform Handle);` I get a hard crash because the dll doesn’t exist nor is it loaded or I’m missing something else. That’s where I’m currently stuck!

The “EasyAntiCheat_x64.dll” does not exist in the Epic Online Services Anti-Cheat implementation.

There was a DLL with this name in the original version of EasyAntiCheat, but that should not be used in any way in the EOS implementation.

Could you please create a private discussion under the topic of “Anti-Cheat” to share the crash dumps and verbose SDK logs?

Thanks, I’ve continued to make some progress. There were a couple dashboard things I had to setup after missing them the first time around. They were the Identity Providers section (for steam auth), and I went through the Integrity Keys (plus editing the config), and the `game.exe.eac` file to run the `anticheat_integritytool`. That part succeeds and I get a certificates folder with 3 files in it, so all looks good to this point.

The game we’re making has a dedicated server, so we’re only protecting the windows client as the server is Linux not to mention we have cross play with console. I get through all the authentication and a successful EOS login via Steam external auth, but when I initiate the anti cheat session, it immediately crashes because I don’t have a anti cheat dll packaged with the game.

At this point, I don’t know where I’m supposed to get one from. It’s not part of the EOSSDK that I downloaded, and wasn’t entirely sure if the process to run the integrity tool might download them magically or something.

Do you know how I’m supposed to get this? I believe this is the last step blocking me. Very difficult to find info on this, those Copilot says I can download it from the Anti-cheat section of the Epic dashboard once our project has been officially approved to use EAC.

Ahh good to know. I was looking around my library of games that implemented EAC, and found a game from 2019 with that. So I wasn’t sure.

For posterity, here is the crash but little data. This is after I successfully logged into EOS via Steam with external auth.

Error: === Critical error: ===
Error:
Error: Fatal error!
Error:
Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff
Error:
Error: [Callstack] 0x00007ff926360661 EOSSDK-Win64-Shipping.dll!UnknownFunction []
Error: [Callstack] 0x00007ff614964c75 P1GameClient-Win64-DebugGame.exe!FOnlinePlatformEpic::OnEasyAntiCheatBeginSession() [E:\PBP\P1B\P1Game\Source\P1Game\Private\OnlinePlatforms\P1OnlinePlatformEpic.cpp:201]
Error: [Callstack] 0x00007ff614961ff9 P1GameClient-Win64-DebugGame.exe!TBaseRawMethodDelegateInstance<1,FOnlinePlatformEpic const ,void __cdecl(void),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [E:\PBP\P1B\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:547]
Error: [Callstack] 0x00007ff60a90bd08 P1GameClient-Win64-DebugGame.exe!TMulticastDelegateBase<FDefaultDelegateUserPolicy>::Broadcast<IBaseDelegateInstance<void __cdecl(void),FDefaultDelegateUserPolicy> >() [E:\PBP\P1B\Engine\Source\Runtime\Core\Public\Delegates\MulticastDelegateBase.h:258]
Error: [Callstack] 0x00007ff61495adbc P1GameClient-Win64-DebugGame.exe!UPBPInitSession_ConnectToClient::Execute() [E:\PBP\P1B\P1Game\Source\P1Game\Private\GameLoop\PBPInitializationSession.cpp:81]
Error: [Callstack] 0x00007ff61479c997 P1GameClient-Win64-DebugGame.exe!UPBPInitComponent::TickComponent() [E:\PBP\P1B\P1Game\Source\P1Game\Private\GameLoop\PBPInitComponent.cpp:191]
Error: [Callstack] 0x00007ff60fea13f8 P1GameClient-Win64-DebugGame.exe!FActorComponentTickFunction::ExecuteTickHelper<`FActorComponentTickFunction::ExecuteTick'::`2'::<lambda_1> >() [E:\PBP\P1B\Engine\Source\Runtime\Engine\Classes\GameFramework\Actor.h:4838]
Error: [Callstack] 0x00007ff60ffa94d8 P1GameClient-Win64-DebugGame.exe!FActorComponentTickFunction::ExecuteTick() [E:\PBP\P1B\Engine\Source\Runtime\Engine\Private\Components\ActorComponent.cpp:1593]
Error: [Callstack] 0x00007ff611201ee9 P1GameClient-Win64-DebugGame.exe!FTickFunctionTask::DoTask() [E:\PBP\P1B\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp:345]
Error: [Callstack] 0x00007ff611207492 P1GameClient-Win64-DebugGame.exe!TGraphTask<FTickFunctionTask>::ExecuteTask() [E:\PBP\P1B\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:707]
Error: [Callstack] 0x00007ff60911a4f3 P1GameClient-Win64-DebugGame.exe!UE::Tasks::Private::FTaskBase::TryExecuteTask() [E:\PBP\P1B\Engine\Source\Runtime\Core\Public\Tasks\TaskPrivate.h:528]
Error: [Callstack] 0x00007ff60910d619 P1GameClient-Win64-DebugGame.exe!FNamedTaskThread::ProcessTasksNamedThread() [E:\PBP\P1B\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:779]
Error: [Callstack] 0x00007ff60910da09 P1GameClient-Win64-DebugGame.exe!FNamedTaskThread::ProcessTasksUntilIdle() [E:\PBP\P1B\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:679]
Error: [Callstack] 0x00007ff611221a05 P1GameClient-Win64-DebugGame.exe!FTickTaskSequencer::ReleaseTickGroup() [E:\PBP\P1B\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp:1011]
Error: [Callstack] 0x00007ff6112296bf P1GameClient-Win64-DebugGame.exe!FTickTaskManager::RunTickGroup() [E:\PBP\P1B\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp:2079]
Error: [Callstack] 0x00007ff6106f778e P1GameClient-Win64-DebugGame.exe!UWorld::RunTickGroup() [E:\PBP\P1B\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:786]
Error: [Callstack] 0x00007ff610700ae7 P1GameClient-Win64-DebugGame.exe!UWorld::Tick() [E:\PBP\P1B\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:1527]
Error: [Callstack] 0x00007ff6103c80a6 P1GameClient-Win64-DebugGame.exe!UGameEngine::Tick() [E:\PBP\P1B\Engine\Source\Runtime\Engine\Private\GameEngine.cpp:1878]
Error: [Callstack] 0x00007ff611777dc1 P1GameClient-Win64-DebugGame.exe!FEngineLoop::Tick() [E:\PBP\P1B\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5625]
Error: [Callstack] 0x00007ff61178b6bc P1GameClient-Win64-DebugGame.exe!GuardedMain() [E:\PBP\P1B\Engine\Source\Runtime\Launch\Private\Launch.cpp:187]
Error: [Callstack] 0x00007ff61178b79a P1GameClient-Win64-DebugGame.exe!GuardedMainWrapper() [E:\PBP\P1B\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:128]
Error: [Callstack] 0x00007ff61178e5a8 P1GameClient-Win64-DebugGame.exe!LaunchWindowsStartup() [E:\PBP\P1B\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:282]
Error: [Callstack] 0x00007ff61179bbf4 P1GameClient-Win64-DebugGame.exe!WinMain() [E:\PBP\P1B\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:340]
Error: [Callstack] 0x00007ff619e50ada P1GameClient-Win64-DebugGame.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
Error: [Callstack] 0x00007ff98d08e8d7 KERNEL32.DLL!UnknownFunction []

Here’s the function wrapper implementation:

void FOnlinePlatformEpic::OnEasyAntiCheatBeginSession() const
{
	UE_LOG(LogOnlinePlatform, Log, TEXT("FOnlinePlatformEpic::OnEasyAntiCheatBeginSession()"));

	// Step 1: Verify subsystem pointer
	if (!EosSubsystem)
	{
		UE_LOG(LogOnlinePlatform, Error, TEXT("EosSubsystem is null."));
		return;
	}

	// Step 2: Get the shared pointer to the EOS platform handle
	IEOSPlatformHandlePtr PlatformHandlePtr = EosSubsystem->GetEOSPlatformHandle();
	if (!PlatformHandlePtr.IsValid())
	{
		UE_LOG(LogOnlinePlatform, Error, TEXT("EOS platform handle is invalid."));
		return;
	}

	// Step 3: Cast to EOS_HPlatform
	void* RawHandle = PlatformHandlePtr.Get();
	UE_LOG(LogOnlinePlatform, Log, TEXT("Raw EOS handle pointer: %p"), RawHandle);
	EOS_HPlatform eosHandle = reinterpret_cast<EOS_HPlatform>(RawHandle);
	if (!eosHandle)
	{
		UE_LOG(LogOnlinePlatform, Error, TEXT("EOS_HPlatform is null after cast."));
		return;
	}

	EOS_HAntiCheatClient antiCheatHandle = EOS_Platform_GetAntiCheatClientInterface(eosHandle);
	if (!antiCheatHandle)
	{
		UE_LOG(LogOnlinePlatform, Error, TEXT("AntiCheat client handle is null, cannot start EAC session."));
		return;
	}

	if (!ProductUserId)
	{
		UE_LOG(LogOnlinePlatform, Error, TEXT("ProductUserId is null, cannot start EAC session."));
		return;
	}

	EOS_AntiCheatClient_BeginSessionOptions beginOptions = {};
	beginOptions.ApiVersion = EOS_ANTICHEATCLIENT_BEGINSESSION_API_LATEST;
	beginOptions.LocalUserId = ProductUserId;
	beginOptions.Mode = EOS_EAntiCheatClientMode::EOS_ACCM_ClientServer;

	// Note: We're passing an address to stack allocated struct for options. EOS is apparently
	// to work safely (just don't retain the data anywhere).
	if (EOS_EResult result = EOS_AntiCheatClient_BeginSession(antiCheatHandle, &beginOptions); result == EOS_EResult::EOS_Success)
	{
		UE_LOG(LogOnlinePlatform, Log, TEXT("EAC session started successfully."));
	}
	else
	{
		UE_LOG(LogOnlinePlatform, Warning, TEXT("Failed to start EAC session: %s"), *FString(EOS_EResult_ToString(result)));
	}
}

and this is where the logging got to before the crash on `EOS_Platform_GetAntiCheatClientInterface`

[2025.11.26-01.40.52:520][260]LogOnlinePlatform: Display: Broadcast FOnlinePlatformEvents::Epic_EasyAntiCheatBeginSessionDelegate()
[2025.11.26-01.40.52:520][260]LogOnlinePlatform: FOnlinePlatformEpic::OnEasyAntiCheatBeginSession()
[2025.11.26-01.40.52:520][260]LogOnlinePlatform: Raw EOS handle pointer: 000002307DB2ABD0

I wonder if the EOS dll supplied with OnlineSubsystemEOS is different from the one in the downloaded EOSSDK (outside of version differences). Do you know if the plugin contains the EAC component? I’ll get more information and start a new thread and link it back to this one.

Okay finally got a solid day in today to troubleshoot and make my way through all the issues. Everything is working now.

One thing really tripped me up was this log message:

`LogEOSSDK: LogEOSAntiCheat: [AntiCheatClient] Anti-cheat client not available. Verify that the game was started using the anti-cheat bootstrapper if you intend to use it.`

Perhaps you can remove that as it’s a red herring because it’s always actually enabled. The other issues I encountered was I failed to rename game.exe.eac to match our exe, but the main issue was that I was getting the `EOS_HPlatform` incorrectly. It’s forward declared which initially tripped me up, but once I included IEOSSDKManager.h, I was able to use this code to not crash EAC.

Once I discovered the anticheatlauncher.log which confirmed everything was succeeding, and then eventually ignoring the false positive logging message saying EAC wasn’t available, it came together and I was able to zero in on the way I was getting the handle.

	EOS_HPlatform eosHandle = *EosSubsystem->GetEOSPlatformHandle();
	EOS_HAntiCheatClient antiCheatHandle = EOS_Platform_GetAntiCheatClientInterface(eosHandle);
	EOS_AntiCheatClient_BeginSessionOptions beginOptions = {};

	beginOptions.ApiVersion = EOS_ANTICHEATCLIENT_BEGINSESSION_API_LATEST;
	beginOptions.LocalUserId = ProductUserId;
	beginOptions.Mode = EOS_EAntiCheatClientMode::EOS_ACCM_ClientServer;

	// Note: We're passing an address to stack allocated struct for options (EOS handles this)
	if (EOS_EResult result = EOS_AntiCheatClient_BeginSession(antiCheatHandle, &beginOptions); result == EOS_EResult::EOS_Success)
	{
		UE_LOG(LogOnlinePlatform, Log, TEXT("EAC session started successfully."));
	}
	else
	{
		UE_LOG(LogOnlinePlatform, Warning, TEXT("Failed to start EAC session: %s"), *FString(EOS_EResult_ToString(result)));
	}