I’ve encountered a situation where the EOS SDK is causing a memory access violation from this call: EOS_Mods_ModInfo_Release
(location 0x0).
Edit: This is on Unreal 4.27, and a clarification: the host had specifically crashed. I tried reproducing with the host leaving the game, but the client crash didn’t occur that time.
This occurred during a multiplayer game, where the host had left, and the client remained leaving their application running. This causes a network failure on the client, and unreal tears down the current running level, loading the startup level on the client.
I’m seeing these logs right before the crash:
17:09:28 LogEOSSDK LogEOSPresence: Didn't update Presence for a while. Forcing Presence auto-update.
17:09:28 LogEOSSDK LogEOSPresence: Updating Presence to Online. LocalUserId=[<Redacted>] RichText=[]
This lines up in the timing of the logs with the 50 minute RefreshConnectLogin call that the EOSOnlineSubsystem plugin receives to update the user’s OAuth token.
Because the client had let their game sit for about 20 minutes prior to this crash, there hadn’t been any other activity really going on for the client, so I’m heavily suspecting an issue with RefreshConnectLogin occurring after a networkfailure/teardown process.
Does anyone have any information about this? Are there any OnlineSubsystem calls I can make to prevent this crash from occurring?
Thanks in advance for any assistance!
P.S. Here’s the full call-stack in case this is helpful to anyone (I don’t imagine it will be, but just in case…):
EOSSDK_Win64_Shipping EOS_Mods_ModInfo_Release
EOSSDK_Win64_Shipping EOS_Mods_ModInfo_Release
EOSOVH_Win64_Shipping unknown
EOSOVH_Win64_Shipping unknown
ntdll RtlpHpConvertFlagsToSegmentFlags
EOSOVH_Win64_Shipping unknown
EOSOVH_Win64_Shipping unknown
ntdll RtlFreeHeap
EOSOVH_Win64_Shipping unknown
EOSOVH_Win64_Shipping unknown
EOSOVH_Win64_Shipping unknown
EOSOVH_Win64_Shipping unknown
EOSOVH_Win64_Shipping unknown
EOSOVH_Win64_Shipping unknown
EOSOVH_Win64_Shipping unknown
ntdll RtlFindLastBackwardRunClear
EOSOVH_Win64_Shipping unknown
EOSOVH_Win64_Shipping unknown