When I use the Lyra project with the OnlineSubsystemEOS to experience EOS P2PSession functionality, I encounter a Fatal Error on the Convolution map when trying to start a second match after completing the first one. This error occurs on the client that hosts the session.
UE Engine Version: UE 5.4.1 release
Lyra Project: Version 5.4 downloaded from the Epic Launcher
Here are the modifications I made to the OnlineSubsystemEOS configuration:
[/Script/SocketSubsystemEOS.NetDriverEOSBase]
bIsUsingP2PSockets=true
[/Script/CommonUser.CommonSessionSubsystem]
; This tells it to use player hosted lobbies, if you want to use sessions instead which may be required for dedicated server hosting set it to false
bUseLobbiesDefault=false
The specific error stack is as follows:
[2024.09.20-10.40.40:546][207]LogWindows: Error: === Critical error: ===
[2024.09.20-10.40.40:546][207]LogWindows: Error:
[2024.09.20-10.40.40:546][207]LogWindows: Error: Fatal error!
[2024.09.20-10.40.40:546][207]LogWindows: Error:
[2024.09.20-10.40.40:546][207]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x000000000001bbba
[2024.09.20-10.40.40:546][207]LogWindows: Error:
[2024.09.20-10.40.40:546][207]LogWindows: Error: [Callstack] 0x00007ff7b0f583f7 LyraGameEOS.exe!FName::ToString() [E:\Unreal\UnrealEngine5.4.1\Engine\Source\Runtime\Core\Private\UObject\UnrealNames.cpp:3361]
[2024.09.20-10.40.40:546][207]LogWindows: Error: [Callstack] 0x00007ff7b72142bd LyraGameEOS.exe!UNetDriver::ServerReplicateActors_BuildConsiderList() [E:\Unreal\UnrealEngine5.4.1\Engine\Source\Runtime\Engine\Private\NetDriver.cpp:4923]
[2024.09.20-10.40.40:546][207]LogWindows: Error: [Callstack] 0x00007ff7b7211e82 LyraGameEOS.exe!UNetDriver::ServerReplicateActors() [E:\Unreal\UnrealEngine5.4.1\Engine\Source\Runtime\Engine\Private\NetDriver.cpp:5817]
[2024.09.20-10.40.40:546][207]LogWindows: Error: [Callstack] 0x00007ff7b7220e1a LyraGameEOS.exe!UNetDriver::TickFlush() [E:\Unreal\UnrealEngine5.4.1\Engine\Source\Runtime\Engine\Private\NetDriver.cpp:987]
[2024.09.20-10.40.40:546][207]LogWindows: Error: [Callstack] 0x00007ff7b71ed0d4 LyraGameEOS.exe!UNetDriver::InternalTickFlush() [E:\Unreal\UnrealEngine5.4.1\Engine\Source\Runtime\Engine\Private\NetDriver.cpp:2022]
[2024.09.20-10.40.40:546][207]LogWindows: Error: [Callstack] 0x00007ff7b71d903b LyraGameEOS.exe!TBaseUObjectMethodDelegateInstance<0,UNetDriver,void __cdecl(float),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [E:\Unreal\UnrealEngine5.4.1\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:667]
[2024.09.20-10.40.40:546][207]LogWindows: Error: [Callstack] 0x00007ff7b1b61855 LyraGameEOS.exe!TMulticastDelegate<void __cdecl(float),FDefaultDelegateUserPolicy>::Broadcast() [E:\Unreal\UnrealEngine5.4.1\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:956]
[2024.09.20-10.40.40:546][207]LogWindows: Error: [Callstack] 0x00007ff7b7004c7e LyraGameEOS.exe!UWorld::Tick() [E:\Unreal\UnrealEngine5.4.1\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:1660]
[2024.09.20-10.40.40:546][207]LogWindows: Error: [Callstack] 0x00007ff7b6d55a19 LyraGameEOS.exe!UGameEngine::Tick() [E:\Unreal\UnrealEngine5.4.1\Engine\Source\Runtime\Engine\Private\GameEngine.cpp:1785]
[2024.09.20-10.40.40:546][207]LogWindows: Error: [Callstack] 0x00007ff7b83b5378 LyraGameEOS.exe!FEngineLoop::Tick() [E:\Unreal\UnrealEngine5.4.1\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5910]
[2024.09.20-10.40.40:546][207]LogWindows: Error: [Callstack] 0x00007ff7b83ce88c LyraGameEOS.exe!GuardedMain() [E:\Unreal\UnrealEngine5.4.1\Engine\Source\Runtime\Launch\Private\Launch.cpp:180]
[2024.09.20-10.40.40:546][207]LogWindows: Error: [Callstack] 0x00007ff7b83ce95a LyraGameEOS.exe!GuardedMainWrapper() [E:\Unreal\UnrealEngine5.4.1\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
[2024.09.20-10.40.40:546][207]LogWindows: Error: [Callstack] 0x00007ff7b83d1525 LyraGameEOS.exe!LaunchWindowsStartup() [E:\Unreal\UnrealEngine5.4.1\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
[2024.09.20-10.40.40:546][207]LogWindows: Error: [Callstack] 0x00007ff7b83e1c04 LyraGameEOS.exe!WinMain() [E:\Unreal\UnrealEngine5.4.1\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:299]
[2024.09.20-10.40.40:546][207]LogWindows: Error: [Callstack] 0x00007ff7bdedcbb6 LyraGameEOS.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2024.09.20-10.40.40:546][207]LogWindows: Error: [Callstack] 0x00007ffdd51054e0 KERNEL32.DLL!UnknownFunction []
[2024.09.20-10.40.40:546][207]LogWindows: Error:
[2024.09.20-10.40.40:558][207]LogExit: Executing StaticShutdownAfterError
[2024.09.20-10.40.40:561][207]LogWindows: FPlatformMisc::RequestExit(1, LaunchWindowsStartup.ExceptionHandler)
[2024.09.20-10.40.40:561][207]LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3, LaunchWindowsStartup.ExceptionHandler)
[2024.09.20-10.40.40:561][207]LogCore: Engine exit requested (reason: Win RequestExit)
I enabled all logs including LogNetDormancy
and LogNet
and found that LyraWorldSettings
is a suspicious actor. It might have been destroyed during the process and be added twice. Here are the logs I suspect
[2024.09.20-10.40.01:225][207]LogNetDormancy: VeryVerbose: FNetworkObjectList::Add: Adding actor. Actor: LyraWorldSettings, Total: 1, Active: 1, NetDriverName: GameNetDriver
[2024.09.20-10.40.01:225][207]LogNetDormancy: VeryVerbose: FNetworkObjectList::Add: Adding actor. Actor: LyraGameState_2147480513, Total: 2, Active: 2, NetDriverName: GameNetDriver
[2024.09.20-10.40.01:225][207]LogNetDormancy: VeryVerbose: FNetworkObjectList::Add: Adding actor. Actor: LyraPlayerState_2147480508, Total: 3, Active: 3, NetDriverName: GameNetDriver
[2024.09.20-10.40.01:225][207]LogNetDormancy: VeryVerbose: FNetworkObjectList::Add: Adding actor. Actor: LyraPlayerState_2147480160, Total: 4, Active: 4, NetDriverName: GameNetDriver
[2024.09.20-10.40.01:225][207]LogNetDormancy: VeryVerbose: FNetworkObjectList::Add: Adding actor. Actor: LyraPlayerController_2147480509, Total: 5, Active: 5, NetDriverName: GameNetDriver
[2024.09.20-10.40.01:225][207]LogNetDormancy: VeryVerbose: FNetworkObjectList::Add: Adding actor. Actor: LyraPlayerController_2147480161, Total: 6, Active: 6, NetDriverName: GameNetDriver
[2024.09.20-10.40.01:225][207]LogWorld: UWorld::CleanupWorld for L_Convolution_Blockout, bSessionEnded=false, bCleanupResources=true
[2024.09.20-10.40.01:227][207]LogSlate: InvalidateAllWidgets triggered. All widgets were invalidated
[2024.09.20-10.40.01:227][207]LogWorldPartition: UWorldPartition::Uninitialize : World = /ShooterMaps/Maps/L_Convolution_Blockout.L_Convolution_Blockout
[2024.09.20-10.40.01:227][207]LogNetDormancy: VeryVerbose: FNetworkObjectList::Add: Adding actor. Actor: WorldDataLayers, Total: 1, Active: 1, NetDriverName: GameNetDriver
[2024.09.20-10.40.01:227][207]LogNetDormancy: Verbose: FlushDormancy: WorldDataLayers. Connection: IpConnection_2147480168
[2024.09.20-10.40.01:227][207]LogNetDormancy: VeryVerbose: FNetworkObjectList::Add: Already contained. Actor: WorldDataLayers, Total: 1, Active: 1, NetDriverName: GameNetDriver
[2024.09.20-10.40.01:227][207]LogContentBundle: [L_Convolution_Blockout(独立)] Deleting container.
[2024.09.20-10.40.01:227][207]LogWorld: UWorld::CleanupWorld for L_Convolution_Blockout, bSessionEnded=false, bCleanupResources=true
[2024.09.20-10.40.01:227][207]LogSlate: InvalidateAllWidgets triggered. All widgets were invalidated
[2024.09.20-10.40.01:227][207]LogWorld: UWorld::CleanupWorld for L_Convolution_Blockout, bSessionEnded=false, bCleanupResources=true
[2024.09.20-10.40.01:227][207]LogSlate: InvalidateAllWidgets triggered. All widgets were invalidated
[2024.09.20-10.40.01:227][207]LogWorld: UWorld::CleanupWorld for L_Convolution_Blockout, bSessionEnded=false, bCleanupResources=true
[2024.09.20-10.40.01:227][207]LogSlate: InvalidateAllWidgets triggered. All widgets were invalidated
[2024.09.20-10.40.01:227][207]LogWorld: UWorld::CleanupWorld for L_Convolution_Blockout, bSessionEnded=false, bCleanupResources=true
[2024.09.20-10.40.01:227][207]LogSlate: InvalidateAllWidgets triggered. All widgets were invalidated
[2024.09.20-10.40.01:227][207]LogWorldMetrics: [UWorldMetricsSubsystem::Deinitialize]
[2024.09.20-10.40.01:227][207]LogWorldMetrics: [UWorldMetricsSubsystem::Clear]
[2024.09.20-10.40.01:245][207]LogAudio: Display: Audio Device (ID: 1) registered with world 'Untitled'.
[2024.09.20-10.40.01:250][207]LogStreaming: Display: 0.041 ms for processing 4113 objects in RemoveUnreachableObjects(Queued=0, Async=0). Removed 433 (2566->2133) packages and 569 (5019->4450) public exports.
[2024.09.20-10.40.01:252][207]LogAudio: Display: Audio Device unregistered from world 'None'.
[2024.09.20-10.40.01:265][207]LogUObjectHash: Compacting FUObjectHashTables data took 1.38ms
[2024.09.20-10.40.01:269][207]LogUIActionRouter: Cleaned out [0] inactive UI action bindings
[2024.09.20-10.40.01:269][207]LogStats: SeamlessTravel FlushLevelStreaming - 0.000 s
[2024.09.20-10.40.01:270][207]LogWorld: Bringing World /Temp/Untitled_2.Untitled up for play (max tick rate 30) at 2024.09.20-18.40.01
[2024.09.20-10.40.01:270][207]LogNetDormancy: VeryVerbose: FNetworkObjectList::Add: Adding actor. Actor: ParticleEventManager_2147479442, Total: 7, Active: 7, NetDriverName: GameNetDriver
[2024.09.20-10.40.01:270][207]LogNetDormancy: VeryVerbose: FNetworkObjectList::Add: Adding actor. Actor: LyraWorldSettings, Total: 8, Active: 8, NetDriverName: GameNetDriver
[2024.09.20-10.40.01:270][207]LogNetDormancy: VeryVerbose: FNetworkObjectList::Add: Already contained. Actor: LyraGameState_2147480513, Total: 8, Active: 8, NetDriverName: GameNetDriver
[2024.09.20-10.40.01:270][207]LogNetDormancy: VeryVerbose: FNetworkObjectList::Add: Already contained. Actor: LyraPlayerState_2147480508, Total: 8, Active: 8, NetDriverName: GameNetDriver
[2024.09.20-10.40.01:270][207]LogNetDormancy: VeryVerbose: FNetworkObjectList::Add: Already contained. Actor: LyraPlayerState_2147480160, Total: 8, Active: 8, NetDriverName: GameNetDriver
[2024.09.20-10.40.01:270][207]LogNetDormancy: VeryVerbose: FNetworkObjectList::Add: Already contained. Actor: LyraPlayerController_2147480509, Total: 8, Active: 8, NetDriverName: GameNetDriver
[2024.09.20-10.40.01:270][207]LogNetDormancy: VeryVerbose: FNetworkObjectList::Add: Already contained. Actor: LyraPlayerController_2147480161, Total: 8, Active: 8, NetDriverName: GameNetDriver
[2024.09.20-10.40.01:270][207]LogWorld: Bringing up level for play took: 0.000150
I don’t know how to locate and fix this issue. I hope someone who has encountered a similar problem can provide some assistance! Thanks!
Lyra_2.log (13.1 MB)