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.