@BelgiasVT
@FatsharkLev
Hey Belgias!
I already tested weave 1 (which is the lower tier equivalent to 41, 81, and 121). I solo finished the level with no problem.
BUT!!!
We played 143 and we crashed in the same way. After the portal, before the arena. In our case, we had one player alive and 3 dead (captured and ready to release). So… I was analyzing my logs and I found this:
22:46:35.433 [Lua] </starts>
22:46:35.433 [Lua] <breed_go_ids>
22:46:35.433 [Lua] </breed_go_ids>
22:46:35.434 [Lua] [PeerSM] 110000103c3db54 :: on_exit WaitingForGameObjectSync
22:46:35.434 [Lua] [PeerSM] 110000103c3db54 :: on_enter WaitingForPlayers
22:46:35.434 [Lua] PlayerManager:add_remote_player 11000010bf0b1ce
22:46:35.434 [Lua] [GameNetworkManager] Created player game object of type 'player' with go_id=4
22:46:35.434 [Lua] RemotePlayer:create_game_object( ) 4
22:46:35.503 [Lua] [PeerSM] 11000010bf0b1ce :: on_exit WaitingForGameObjectSync
22:46:35.503 [Lua] [PeerSM] 11000010bf0b1ce :: on_enter WaitingForPlayers
22:46:35.513 [Lua] [SharedState] network_state_110000103c3db54: <rpc set 11000010d4ed4c9> inventory_list:0:1:0:0 = {"third_person":{"wwise\/one_handed_swords":false,"units\/beings\/player\/third_person_base\/bright_wizard\/chr_third_person_husk_base":false,"resource_packages\/careers\/bw_adept":false,"units\/weapons\/player\/wpn_bw_deus_02\/wpn_bw_deus_02_magic_3p":false,"units\/weapons\/player\/wpn_brw_sword_03_t2\/wpn_brw_sword_03_t2_magic_01_3p":false,"units\/beings\/player\/bright_wizard_adept\/headpiece\/bw_a_hat_13":false,"wwise\/bw_deus_01":false,"units\/beings\/player\/bright_wizard_adept_skin_01\/third_person_base\/chr_third_person_mesh":false,"units\/weapons\/player\/wpn_fireball\/wpn_fireball_3p":false},"inventory_id":1249489536,"first_person":{"units\/weapons\/player\/wpn_brw_sword_03_t2\/wpn_brw_sword_03_t2_magic_01":false,"units\/weapons\/player\/wpn_fireball\/wpn_fireball":false,"units\/weapons\/player\/wpn_fireball\/wpn_fireball_3p":false,"wwise\/bw_deus_01":false,"units\/beings\/player\/bright_wizard_adept\/headpiece\/bw_a_hat_13":false,"units\/beings\/player\/first_person_base\/chr_first_person_bot_base":false,"units\/beings\/player\/first_person_base\/chr_first_person_base":false,"wwise\/one_handed_swords":false,"units\/weapons\/player\/wpn_bw_deus_02\/wpn_bw_deus_02_magic_3p":false,"units\/weapons\/player\/wpn_bw_deus_02\/wpn_bw_deus_02_magic":false,"resource_packages\/careers\/bw_adept":false,"units\/beings\/player\/third_person_base\/bright_wizard\/chr_third_person_base":false,"units\/beings\/player\/bright_wizard_adept_skin_01\/third_person_base\/chr_third_person_mesh":false,"units\/beings\/player\/bright_wizard_adept_skin_01\/first_person_base\/chr_first_person_mesh":false,"units\/weapons\/player\/wpn_brw_sword_03_t2\/wpn_brw_sword_03_t2_magic_01_3p":false}}
22:46:35.513 [Lua] [SharedState] network_state_110000103c3db54: <rpc set 11000010d4ed4c9> loaded_inventory_id:11000010d4ed4c9:1:0:0 = 1249489536
22:46:35.513 [Lua] [SharedState] network_state_110000103c3db54: <rpc set 11000010d4ed4c9> loaded_inventory_id:1100001047988ab:1:0:0 = 253422672
22:46:35.513 [Lua] [SharedState] network_state_110000103c3db54: <rpc set 11000010d4ed4c9> loaded_inventory_id:110000103c3db54:1:0:0 = 965313216
22:46:35.513 [Lua] [SharedState] network_state_110000103c3db54: <rpc set 11000010d4ed4c9> loaded_inventory_id:11000010bf0b1ce:1:0:0 = 1220198016
22:46:35.513 [Lua] [SharedState] network_state_110000103c3db54: <rpc set 11000010d4ed4c9> actually_ingame:11000010d4ed4c9:0:0:0 = false
22:46:35.513 [Lua] [SharedState] network_state_110000103c3db54: <rpc set 11000010bf0b1ce> inventory_list:0:1:0:0 = {"third_person":{"wwise\/repeating_handgun_pistol":false,"units\/weapons\/player\/wpn_emp_handgun_repeater_t1\/wpn_emp_handgun_repeater_t1_magic_01_3p":false,"units\/weapons\/player\/wpn_es_deus_shield_02\/wpn_es_deus_shield_02_magic_3p":false,"units\/beings\/player\/empire_soldier_knight\/headpiece\/es_k_hat_09":false,"units\/beings\/player\/third_person_base\/empire_soldier\/chr_third_person_husk_base":false,"units\/weapons\/player\/wpn_es_deus_spear_02\/wpn_es_deus_spear_02_magic_3p":false,"units\/beings\/player\/empire_soldier_knight\/skins\/white\/chr_empire_soldier_knight_white":false,"units\/beings\/player\/empire_soldier_knight\/third_person_base\/chr_third_person_mesh":false,"wwise\/es_deus_01":false,"resource_packages\/careers\/es_knight":false},"inventory_id":1220198016,"first_person":{"units\/weapons\/player\/wpn_es_deus_shield_02\/wpn_es_deus_shield_02_magic_3p":false,"units\/beings\/player\/first_person_base\/chr_first_person_base":false,"wwise\/repeating_handgun_pistol":false,"units\/beings\/player\/empire_soldier_knight\/first_person_base\/chr_first_person_mesh":false,"units\/weapons\/player\/wpn_emp_handgun_repeater_t1\/wpn_emp_handgun_repeater_t1_magic_01_3p":false,"wwise\/es_deus_01":false,"units\/beings\/player\/first_person_base\/chr_first_person_bot_base":false,"units\/weapons\/player\/wpn_es_deus_spear_02\/wpn_es_deus_spear_02_magic":false,"resource_packages\/careers\/es_knight":false,"units\/weapons\/player\/wpn_es_deus_shield_02\/wpn_es_deus_shield_02_magic":false,"units\/weapons\/player\/wpn_es_deus_spear_02\/wpn_es_deus_spear_02_magic_3p":false,"units\/beings\/player\/empire_soldier_knight\/skins\/white\/chr_empire_soldier_knight_white":false,"units\/weapons\/player\/wpn_emp_handgun_repeater_t1\/wpn_emp_handgun_repeater_t1_magic_01":false,"units\/beings\/player\/empire_soldier_knight\/third_person_base\/chr_third_person_mesh":false,"units\/beings\/player\/third_person_base\/empire_soldier\/chr_third_person_base":false,"units\/beings\/player\/empire_soldier_knight\/headpiece\/es_k_hat_09":false}}
22:46:35.513 [Lua] [SharedState] network_state_110000103c3db54: <rpc set 11000010bf0b1ce> loaded_inventory_id:1100001047988ab:1:0:0 = 253422672
22:46:35.513 [Lua] [SharedState] network_state_110000103c3db54: <rpc set 11000010bf0b1ce> loaded_inventory_id:11000010d4ed4c9:1:0:0 = 1249489536
22:46:35.513 [Lua] [SharedState] network_state_110000103c3db54: <rpc set 11000010bf0b1ce> loaded_inventory_id:110000103c3db54:1:0:0 = 965313216
22:46:35.514 [Lua] [SharedState] network_state_110000103c3db54: <rpc set 11000010bf0b1ce> loaded_inventory_id:11000010bf0b1ce:1:0:0 = 1220198016
22:46:35.514 [Lua] [SharedState] network_state_110000103c3db54: <rpc set 11000010bf0b1ce> actually_ingame:11000010bf0b1ce:0:0:0 = false
22:46:36.367 <<Lua Error>>scripts/managers/spawn/respawn_handler.lua:681: attempt to index local 'respawn_data' (a nil value)<</Lua Error>>
<<Callstack>>
{00007ff6f5630000, 011ed000, 6227228a, d8abc7e8-43f1-47df-8f53-8698f73f8f4b, 00000001, E:\agent-work\tmp-builds\engine_vt2\release\qol_2022_03_01\engine\win64\release\vermintide2.pdb}
{00007ffaacc30000, 001f5000, 1be73aa8, 75f14e12-4f6f-8595-b922-d69f10c03789, 00000001, ntdll.pdb}
{00007ffaab8d0000, 000be000, f32175d9, d40085df-05d6-d9e3-8611-c48f717c2052, 00000001, kernel32.pdb}
0x00007ff6f5630000:0x00000000002d91fd
0x00007ff6f5630000:0x000000000032a77b
0x00007ff6f5630000:0x000000000032a147
0x00007ff6f5630000:0x0000000000030c6e
0x00007ff6f5630000:0x000000000003063e
0x00007ff6f5630000:0x00000000000217f5
0x00007ff6f5630000:0x0000000000021e89
0x00007ff6f5630000:0x0000000000022042
0x00007ff6f5630000:0x0000000000487a57
0x00007ffaab8d0000:0x0000000000017034 BaseThreadInitThunk
0x00007ffaacc30000:0x0000000000052651 RtlUserThreadStart
<</Callstack>>
<<Crash version>>1<</Crash version>>
<<Thread name>>main<</Thread name>>
<<Platform>>win32<</Platform>>
<<Build identifier>>0ac7fb6d502af814131996bc2121d83d73f40841<</Build identifier>>
<<Build type>>release<</Build type>>
<<Product version>>Developer Build (1.3.6992.0)<</Product version>>
<<Session>>5ba86292-91d5-4532-84ef-e16fd85e6d5e<</Session>>
…
<<Plugins>>
RazerChroma
CrashMonitor
navigation
cjson
lcurl
rule database
tobii_eyetracking_plugin
wwise_plugin
<</Plugins>>
<<Script Error>>scripts/managers/spawn/respawn_handler.lua:681: attempt to index local 'respawn_data' (a nil value)<</Script Error>>
<<Lua Stack>> [1] @scripts/managers/spawn/respawn_handler.lua:681: in function _is_respawn_reachable
[2] @scripts/managers/spawn/respawn_handler.lua:420: in function server_update
[3] @scripts/managers/game_mode/spawning_components/adventure_spawning.lua:213: in function server_update
[4] @scripts/managers/game_mode/game_modes/game_mode_weave.lua:61: in function server_update
[5] @scripts/managers/game_mode/game_mode_manager.lua:760: in function hook_chain
[6] @scripts/mods/vmf/modules/core/hooks.lua:180: in function server_update
[7] @scripts/game_state/state_ingame.lua:1027: in function update
[8] @foundation/scripts/util/state_machine.lua:141: in function update
[9] @scripts/boot.lua:877: in function game_update
[10] @scripts/boot.lua:611:in function <scripts/boot.lua:602>
<</Lua Stack>>
<<Lua Locals>> [1] self = table: 000000000CEF5750; respawn_data = nil; main_path_info = table: 000000000D76C1D0; min_dist = 0
[2] self = table: 000000000CEF5750; dt = 0.053382739424705505; t = 0.14455015957355499; slots = table: 000000000AEBD710; any_player_respawned = false; i = 1; status = table: 00000000108166C0; data = table: 0000000002875120; is_dead = false; current_respawn_unit = [Unit (deleted)]; current_respawn_data = nil
[3] self = table: 0000000009665DC0; t = 0.14455015957355499; dt = 0.053382739424705505; party = table: 000000000AEBD6A0; occupied_slots = table: 000000000AEBD710; allow_respawns = true
[4] self = table: 0000000008A3F4D0; t = 0.14455015957355499; dt = 0.053382739424705505
[5] self = table: 000000000D723070; dt = 0.053382739424705505; t = 0.14455015957355499; game_mode = table: 0000000008A3F4D0
[6] hook_chain = [function]
[7] self = table: 000000000B7862B0; dt = 0.053382739424705505; main_t = 3794.5254018071573; is_server = true; Managers = \n\tui\n\ttwitch\n\tpopup\n\tsave\n\trcon\n\ttransition\n\tmusic\n\ttime\n\tfree_flight\n\tirc\n\teac\n\tmatchmaking\n\tlight_fx\n\tweave\n\tupdator\n\trazer_ch...; t = 0.14455015957355499; game_mode_ended = false
[8] self = table: 000000000303D840; dt = 0.053382739424705505; t = 3794.5254018071573
[9] self = table: 0000000000096B00; real_world_dt = 0.053382739424705505; Managers = \n\tui\n\ttwitch\n\tpopup\n\tsave\n\trcon\n\ttransition\n\tmusic\n\ttime\n\tfree_flight\n\tirc\n\teac\n\tmatchmaking\n\tlight_fx\n\tweave\n\tupdator\n\trazer_ch...; dt = 0.053382739424705505; t = 3794.5254018071573
[10] dt = 0.053382739424705505
<</Lua Locals>>
<<Lua Self>> [1] _disabled_respawn_groups = table: 0000000010C84090; _path_break_points = table: 0000000005421690; _world = [World]; _id = 3; _next_move_players_t = 10.091167420148849; _network_transmit = table: 000000000FD2E120; _boss_door_dist_lookup = table: 0000000013A28210; _respawn_gate_units = table: 0000000008E0B020; _network_event_delegate = table: 000000000FF5A2A0; _profile_synchronizer = table: 000000000C0E7810; _all_synced_checked = true; _active_overrides = table: 000000000F9936E0; _move_players = true; _active_overridden_units = table: 000000000BC63440; _delayed_respawn_queue = table: 0000000012509330; _respawn_gate_units_n = 0; _all_synced = true; _respawner_groups = table: 000000000B3317F0; _respawn_units = table: 0000000001078690;
[2] _disabled_respawn_groups = table: 0000000010C84090; _path_break_points = table: 0000000005421690; _world = [World]; _id = 3; _next_move_players_t = 10.091167420148849; _network_transmit = table: 000000000FD2E120; _boss_door_dist_lookup = table: 0000000013A28210; _respawn_gate_units = table: 0000000008E0B020; _network_event_delegate = table: 000000000FF5A2A0; _profile_synchronizer = table: 000000000C0E7810; _all_synced_checked = true; _active_overrides = table: 000000000F9936E0; _move_players = true; _active_overridden_units = table: 000000000BC63440; _delayed_respawn_queue = table: 0000000012509330; _respawn_gate_units_n = 0; _all_synced = true; _respawner_groups = table: 000000000B3317F0; _respawn_units = table: 0000000001078690;
[3] _profile_synchronizer = table: 000000000C0E7810; _num_spawn_points_used = 2; _respawn_handler = table: 000000000CEF5750; _side = table: 000000000CFCCB80; _spawning = true; _delayed_clients = table: 000000000CAED150; _saved_game_mode_data = table: 000000000E992170; _network_server = table: 0000000007979080; _respawns_enabled = true; _is_server = true; _spawn_points = table: 000000000A182B30;
[4] _bot_profile_id_to_priority_id = table: 000000000EF67E20; _world = [World]; _end_level_areas = table: 000000000EB388C0; _player_spawners = table: 000000000D8E09F0; _available_profiles = table: 000000000B97E8F0; _game_mode_state = "initial_state"; _network_event_delegate = table: 000000000FF5A2A0; _network_transmit = table: 000000000FD2E120; _weave_spawning = table: 0000000009665DC0; _adventure_profile_rules = table: 000000000EF4DB90; _initial_peers_ready = false; _num_pending_bot_remove = 0; _pending_bot_remove = table: 000000000BBFB5B0; _profile_synchronizer = table: 000000000C0E7810; _debug_end_level_areas = table: 0000000008BA7A10; about_to_win = false; _settings = table: 0000000000333B30; _level_failed = false; _bot_players = table: 00000000016FA4B0; _level_completed = false; about_to_lose = false; _local_player_spawned = false; _statistics_db = table: 000000000B1F6F80; _level_key = "dlc_scorpion_arena_temple_shadow"; _network_server = table: 0000000007979080; _quick_play = false; _is_server = true; _lose_condition_disabled = false;
[5] _world = [World]; _game_mode_key = "weave"; statistics_db = table: 000000000B1F6F80; _have_signalled_ready_to_transition = false; _gm_event_end_conditions_met = false; _initial_peers_ready = false; _object_set_names = table: 0000000009716330; _end_conditions_met = false; _round_started = false; _object_sets = table: 0000000009716300; _disable_spawning_reasons = table: 000000000FAD72A0; _has_created_game_mode_data = false; _looping_event_timers = table: 000000000481AC40; _mutator_handler = table: 00000000133B02E0; network_server = table: 0000000007979080; _game_mode = table: 0000000008A3F4D0; _profile_synchronizer = table: 000000000C0E7810; _lobby_host = table: 000000000072C930; _level_key = "dlc_scorpion_arena_temple_shadow"; _network_transmit = table: 000000000FD2E120; _flow_set_data = table: 000000000F776400; is_server = true; network_event_delegate = table: 000000000FF5A2A0;
[7] world_name = "level_world"; entity_system_bag = table: 000000000E540410; network_server = table: 0000000007979080; entity_system = table: 000000000E978590; parent = table: 0000000000096B00; _level_flow_events = table: 000000000CCB3E00<</Lua Self>>
[Log end]
So, apparently, there is a problem with respawn_handler.lua
I had a theory. Maybe it was because we were dead. So we completed weave 23 (to make it faster and easier) and we did NOT crash. The difference was that everybody was alive.
My theory is that respawn_handler.lua is responsible to revive players after the end of a mission, so they start the arena alive; and maybe in campaign mode, so they respawn in the keep and in CW, so they get revived for the next map (not released, though)
@BelgiasVT
So maybe if you make sure to revive everybody before getting into the portal, you can bypass that crash.
Let me know if you had somebody dead / down when you crashed, please. If you didn’t, you would destroy my whole theory xD So let me know please =D
@FatsharkLev
What do you think about this Theory Lev?
On commit b38754a3bd61983118215359845d5b4fe5005014 from Auussiemon’s repo, the file respawn_handler.lua had some changes. There are a few new functions, so maybe the problem is over there.
I hope this helps solve the problem faster.
P.S.: I know people have been crashing still with everybody alive, so maybe there are more conditions that I’m not seeing right now.
Oh, and this is my GUID
GUID: 3c1db932-1e8e-4fde-89fd-005678b5cc0c
Log File:
Info Type:
[Script Error]: scripts/managers/spawn/respawn_handler.lua:681: attempt to index local ‘respawn_data’ (a nil value)