Hello all,
I am currently running a dedicated server and connecting with a client. This issue does not effect launching the client and server from the editor but when I compile the server and client separately and stay connected on the client for one minute then the server crashes:
[2023.07.23-20.37.11:769][814]LogWindows: Error: === Critical error: ===
[2023.07.23-20.37.11:770][814]LogWindows: Error:
[2023.07.23-20.37.11:771][814]LogWindows: Error: Fatal error!
[2023.07.23-20.37.11:772][814]LogWindows: Error:
[2023.07.23-20.37.11:772][814]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x000000000001bbba
[2023.07.23-20.37.11:772][814]LogWindows: Error:
[2023.07.23-20.37.11:772][814]LogWindows: Error: [Callstack] 0x00007ff622547a46 Server.exe!FName::ToString() [C:\UnrealEngine\Engine\Source\Runtime\Core\Private\UObject\UnrealNames.cpp:3371]
[2023.07.23-20.37.11:773][814]LogWindows: Error: [Callstack] 0x00007ff626f9fc07 Server.exe!UNetDriver::ServerReplicateActors_BuildConsiderList() [C:\UnrealEngine\Engine\Source\Runtime\Engine\Private\NetDriver.cpp:4278]
[2023.07.23-20.37.11:773][814]LogWindows: Error: [Callstack] 0x00007ff626f9d5ca Server.exe!UNetDriver::ServerReplicateActors() [C:\UnrealEngine\Engine\Source\Runtime\Engine\Private\NetDriver.cpp:5142]
[2023.07.23-20.37.11:773][814]LogWindows: Error: [Callstack] 0x00007ff626fab852 Server.exe!UNetDriver::TickFlush() [C:\UnrealEngine\Engine\Source\Runtime\Engine\Private\NetDriver.cpp:874]
[2023.07.23-20.37.11:774][814]LogWindows: Error: [Callstack] 0x00007ff626f76a64 Server.exe!UNetDriver::InternalTickFlush() [C:\UnrealEngine\Engine\Source\Runtime\Engine\Private\NetDriver.cpp:1546]
[2023.07.23-20.37.11:774][814]LogWindows: Error: [Callstack] 0x00007ff626f554fb Server.exe!TBaseUObjectMethodDelegateInstance<0,UNetDriver,void __cdecl(float),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [C:\UnrealEngine\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:552]
[2023.07.23-20.37.11:774][814]LogWindows: Error: [Callstack] 0x00007ff622d839ca Server.exe!TMulticastDelegate<void __cdecl(float),FDefaultDelegateUserPolicy>::Broadcast() [C:\UnrealEngine\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:988]
[2023.07.23-20.37.11:774][814]LogWindows: Error: [Callstack] 0x00007ff626e38f60 Server.exe!UWorld::Tick() [C:\UnrealEngine\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:1673]
[2023.07.23-20.37.11:775][814]LogWindows: Error: [Callstack] 0x00007ff626b99df3 Server.exe!UGameEngine::Tick() [C:\UnrealEngine\Engine\Source\Runtime\Engine\Private\GameEngine.cpp:1789]
[2023.07.23-20.37.11:775][814]LogWindows: Error: [Callstack] 0x00007ff61f8ecab7 Server.exe!FEngineLoop::Tick() [C:\UnrealEngine\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5812]
[2023.07.23-20.37.11:775][814]LogWindows: Error: [Callstack] 0x00007ff61f903f6c Server.exe!GuardedMain() [C:\UnrealEngine\Engine\Source\Runtime\Launch\Private\Launch.cpp:188]
[2023.07.23-20.37.11:775][814]LogWindows: Error: [Callstack] 0x00007ff61f90404a Server.exe!GuardedMainWrapper() [C:\UnrealEngine\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:107]
[2023.07.23-20.37.11:776][814]LogWindows: Error: [Callstack] 0x00007ff61f906d46 Server.exe!LaunchWindowsStartup() [C:\UnrealEngine\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:244]
[2023.07.23-20.37.11:776][814]LogWindows: Error: [Callstack] 0x00007ff61f9140c4Server.exe!WinMain() [C:\UnrealEngine\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:285]
[2023.07.23-20.37.11:776][814]LogWindows: Error: [Callstack] 0x00007ff628d4bdaa Server.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2023.07.23-20.37.11:776][814]LogWindows: Error: [Callstack] 0x00007ffefb017614 KERNEL32.DLL!UnknownFunction []
[2023.07.23-20.37.11:777][814]LogWindows: Error: [Callstack] 0x00007ffefbe626b1 ntdll.dll!UnknownFunction []
The server replicates FString, Sub objects of ACharacter and AActor, ints and booleans and I am strugglling to find the cause of the error.