Game crashes when travelling to dedicated server

Hi, I’m developing a multiplayer educational game for VR.
I’m struggling because my game crashes.
I have several levels in it that are run on local dedicated servers.
There is a Main level, a Mars level and Moon level.
The problem starts when I travel to the Moon level and come back to the Main level.

I would appreciate If anyone could help.

The whole log is here: https://raw.githubusercontent.com/f1th4p/Energosfera/284d8a1da1863715528f8951959cfaf80c5d1201/Energosfera.log

The log file end with this:

[2023.09.26-08.52.43:654][800]LogAudio: Display: Audio Device unregistered from world 'None'.
[2023.09.26-08.52.43:662][800]LogNetTraffic: UActorChannel::CleanUp: [UActorChannel] Actor: None None.None:None.None, Role: 1, RemoteRole: 3 [UChannel] ChIndex: 11, Closing: 0 [UNetConnection] RemoteAddr: 192.168.0.11:3000, Name: IpConnection_2147479835, Driver: GameNetDriver IpNetDriver_2147479836, IsServer: NO, PC: BP_Collab_V_PlayerController_C_2147479777, Owner: BP_Collab_V_PlayerController_C_2147479777, UniqueId: NULL:DESKTOP-PNKCC7V-4E5C7B8E4B6A72B0ED2A3C83E5214D46
[2023.09.26-08.52.43:662][800]LogNetTraffic: UActorChannel::CleanUp: [UActorChannel] Actor: None None.None:None.None, Role: 1, RemoteRole: 3 [UChannel] ChIndex: 10, Closing: 0 [UNetConnection] RemoteAddr: 192.168.0.11:3000, Name: IpConnection_2147479835, Driver: GameNetDriver IpNetDriver_2147479836, IsServer: NO, PC: BP_Collab_V_PlayerController_C_2147479777, Owner: BP_Collab_V_PlayerController_C_2147479777, UniqueId: NULL:DESKTOP-PNKCC7V-4E5C7B8E4B6A72B0ED2A3C83E5214D46
[2023.09.26-08.52.43:663][800]LogNetTraffic: UActorChannel::CleanUp: [UActorChannel] Actor: None None.None:None.None, Role: 2, RemoteRole: 3 [UChannel] ChIndex: 9, Closing: 0 [UNetConnection] RemoteAddr: 192.168.0.11:3000, Name: IpConnection_2147479835, Driver: GameNetDriver IpNetDriver_2147479836, IsServer: NO, PC: BP_Collab_V_PlayerController_C_2147479777, Owner: BP_Collab_V_PlayerController_C_2147479777, UniqueId: NULL:DESKTOP-PNKCC7V-4E5C7B8E4B6A72B0ED2A3C83E5214D46
[2023.09.26-08.52.43:664][800]LogNetTraffic: UActorChannel::CleanUp: [UActorChannel] Actor: GameplayDebuggerCategoryReplicator None.None:None.None, Role: 1, RemoteRole: 3 [UChannel] ChIndex: 8, Closing: 0 [UNetConnection] RemoteAddr: 192.168.0.11:3000, Name: IpConnection_2147479835, Driver: GameNetDriver IpNetDriver_2147479836, IsServer: NO, PC: BP_Collab_V_PlayerController_C_2147479777, Owner: BP_Collab_V_PlayerController_C_2147479777, UniqueId: NULL:DESKTOP-PNKCC7V-4E5C7B8E4B6A72B0ED2A3C83E5214D46
[2023.09.26-08.52.43:664][800]LogNetTraffic: UActorChannel::CleanUp: [UActorChannel] Actor: None None.None:None.None, Role: 1, RemoteRole: 3 [UChannel] ChIndex: 7, Closing: 0 [UNetConnection] RemoteAddr: 192.168.0.11:3000, Name: IpConnection_2147479835, Driver: GameNetDriver IpNetDriver_2147479836, IsServer: NO, PC: BP_Collab_V_PlayerController_C_2147479777, Owner: BP_Collab_V_PlayerController_C_2147479777, UniqueId: NULL:DESKTOP-PNKCC7V-4E5C7B8E4B6A72B0ED2A3C83E5214D46
[2023.09.26-08.52.43:664][800]LogNetTraffic: UActorChannel::CleanUp: [UActorChannel] Actor: WorldSettings None.None:None.None, Role: 1, RemoteRole: 3 [UChannel] ChIndex: 6, Closing: 0 [UNetConnection] RemoteAddr: 192.168.0.11:3000, Name: IpConnection_2147479835, Driver: GameNetDriver IpNetDriver_2147479836, IsServer: NO, PC: BP_Collab_V_PlayerController_C_2147479777, Owner: BP_Collab_V_PlayerController_C_2147479777, UniqueId: NULL:DESKTOP-PNKCC7V-4E5C7B8E4B6A72B0ED2A3C83E5214D46
[2023.09.26-08.52.43:664][800]LogNetTraffic: UActorChannel::CleanUp: [UActorChannel] Actor: None None.None:None.None, Role: 1, RemoteRole: 3 [UChannel] ChIndex: 5, Closing: 0 [UNetConnection] RemoteAddr: 192.168.0.11:3000, Name: IpConnection_2147479835, Driver: GameNetDriver IpNetDriver_2147479836, IsServer: NO, PC: BP_Collab_V_PlayerController_C_2147479777, Owner: BP_Collab_V_PlayerController_C_2147479777, UniqueId: NULL:DESKTOP-PNKCC7V-4E5C7B8E4B6A72B0ED2A3C83E5214D46
[2023.09.26-08.52.43:664][800]LogNetTraffic: UActorChannel::CleanUp: [UActorChannel] Actor: None None.None:None.None, Role: 1, RemoteRole: 3 [UChannel] ChIndex: 4, Closing: 0 [UNetConnection] RemoteAddr: 192.168.0.11:3000, Name: IpConnection_2147479835, Driver: GameNetDriver IpNetDriver_2147479836, IsServer: NO, PC: BP_Collab_V_PlayerController_C_2147479777, Owner: BP_Collab_V_PlayerController_C_2147479777, UniqueId: NULL:DESKTOP-PNKCC7V-4E5C7B8E4B6A72B0ED2A3C83E5214D46
[2023.09.26-08.52.43:664][800]LogNetTraffic: UActorChannel::CleanUp: [UActorChannel] Actor: None None.None:None.Moon_C_1, Role: 1, RemoteRole: 3 [UChannel] ChIndex: 3, Closing: 0 [UNetConnection] RemoteAddr: 192.168.0.11:3000, Name: IpConnection_2147479835, Driver: GameNetDriver IpNetDriver_2147479836, IsServer: NO, PC: BP_Collab_V_PlayerController_C_2147479777, Owner: BP_Collab_V_PlayerController_C_2147479777, UniqueId: NULL:DESKTOP-PNKCC7V-4E5C7B8E4B6A72B0ED2A3C83E5214D46
[2023.09.26-08.52.43:665][800]LogNetTraffic: UActorChannel::CleanUp: [UActorChannel] Actor: None None.None:None.None, Role: 2, RemoteRole: 3 [UChannel] ChIndex: 2, Closing: 0 [UNetConnection] RemoteAddr: 192.168.0.11:3000, Name: IpConnection_2147479835, Driver: GameNetDriver IpNetDriver_2147479836, IsServer: NO, PC: None, Owner: None, UniqueId: NULL:DESKTOP-PNKCC7V-4E5C7B8E4B6A72B0ED2A3C83E5214D46
[2023.09.26-08.52.43:667][800]LogGarbage: 18.907800 ms for unhashing unreachable objects (9632 objects unhashed)
[2023.09.26-08.52.43:668][800]LogWindows: Windows GetLastError: Operacja ukończona pomyślnie. (0)
[2023.09.26-08.52.43:668][800]LogWindows: Error: === Critical error: ===
[2023.09.26-08.52.43:668][800]LogWindows: Error: 
[2023.09.26-08.52.43:668][800]LogWindows: Error: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:G:\UnrealEngine-4.27\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 703] 
[2023.09.26-08.52.43:668][800]LogWindows: Error: Array index out of bounds: 0 from an array of size 0
[2023.09.26-08.52.43:668][800]LogWindows: Error: 
[2023.09.26-08.52.43:668][800]LogWindows: Error: 
[2023.09.26-08.52.43:668][800]LogWindows: Error: 
[2023.09.26-08.52.43:683][800]LogExit: Executing StaticShutdownAfterError
[2023.09.26-08.52.43:683][800]LogWindows: FPlatformMisc::RequestExit(1)
[2023.09.26-08.52.43:683][800]LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3)
[2023.09.26-08.52.43:683][800]LogCore: Engine exit requested (reason: Win RequestExit)
[2023.09.26-08.52.43:688][800]Log file closed, 09/26/23 10:52:43

There are too many CDO errors from BP Components, like BP_Interact_Field_moon.*. These could potentially cause problems, especially if they contain logic on how the World will be when clients travel back. Make sure you Cook first and try to fix any errors, before compiling the server and client builds.

Thank you for your reply. Apparently the thing that crashed my game was an experimental feature called GeometryCache. I have an animation using it in the Moon level that is played in a sequencer. I’m trying to export it from blender in a different format to omit using GeometryCache. I will come back with the result.
I’ve removed this animation from the Moon level, and the game didn’t crash.
I assume that those CDO errors are coming from that experimental feature.
FYI when packaging the content is Cooked so I don’t have to do it separately. Or is there a step that I need to take before packaging?

1 Like

I don’t think there is but it’s fine, you are good.

Maybe, but good job in finding it eventually.

Btw that sounds like an interesting application. I hope you carry it through. :+1:

1 Like