File keeps disappearing causing crashes

Issue Type (Required):

Crash - During Play

Issue Description (Required):

As the the title says, need to multiple times a day verify game files from Steam to load the file back.

Crash error gives:

[Script Error] ...hud/elements/smart_tagging/
hud_element_smart_tagging.lua:1358 attempt to index local 'tag_template' (a nil value)

C:\Users(Username)\AppData\Roaming\Fatshark\Darktide\console_logs
gives this at the end of the log file:

<<Script Error>>

...hud/elements/smart_tagging/hud_element_smart_tagging.lua:1358: attempt to index local 'tag_template' (a nil value)<</Script Error>>


<<Lua Stack>>  


  [1] @scripts/ui/hud/elements/smart_tagging/hud_element_smart_tagging.lua:1358: in function _update_tag_interaction_information
  
  [2] @scripts/ui/hud/elements/smart_tagging/hud_element_smart_tagging.lua:976: in function _handle_interaction_draw
  
  [3] @scripts/ui/hud/elements/smart_tagging/hud_element_smart_tagging.lua:992: in function _draw_widgets
  
  [4] @scripts/ui/hud/elements/hud_element_base.lua:217: in function hook_chain
  
  [5] ./../mods/dmf/scripts/mods/dmf/modules/core/hooks.lua:198: in function draw
  
  [6] @scripts/managers/ui/ui_hud.lua:474: in function draw
  
  [7] @scripts/managers/ui/ui_manager.lua:1022: in function render
  
  [8] @scripts/game_states/state_game.lua:899: in function render
  
  [9] @scripts/foundation/utilities/game_state_machine.lua:134: in function render
  
  [10] ./mod_loader:401: in function render
  
  [11] ./mod_loader:441:in function <[string "./mod_loader"]:440>
  
  
<</Lua Stack>>


<<Lua Locals>>  


  [1] self = table: 000000000A94F200; active_interaction_data = table: 000000000CCCCC80; marker = table: 000000000DEADBB0; display_name = "n/a"; tag_id = 17; tag_template = nil; distance = 13.882696151733398; distance_text_localized = "13m"; description_text_localized = "<unlocalized \"n/a\": string not found>"; input_text_tag = ""; parent = table: 000000000895BBA0; player = table: 000000000641EAB0; smart_tag_system = table: 000000000805D0D0; tagger_player = table: 000000000B6539A0; is_my_tag = false
  
  [2] self = table: 000000000A94F200; dt = 0.01525569986552; t = 418.7980118027902; input_service = table: 0000000003695F00; ui_renderer = table: 000000000895A640; render_settings = table: 000000000895B740; can_present_tag_interaction = true; active_interaction_data = table: 000000000CCCCC80; marker = table: 000000000DEADBB0
  
  [3] self = table: 000000000A94F200; dt = 0.01525569986552; t = 418.7980118027902; input_service = table: 0000000003695F00; ui_renderer = table: 000000000895A640; render_settings = table: 000000000895B740
  
  [4] self = table: 000000000A94F200; dt = 0.01525569986552; t = 418.7980118027902; ui_renderer = table: 000000000895A640; render_settings = table: 000000000895B740; input_service = table: 0000000003695F00; ui_scenegraph = table: 000000000B773290
  
  [5] hook_chain = [function]
  
  [6] self = table: 000000000895BBA0; dt = 0.01525569986552; t = 418.7980118027902; input_service = table: 0000000003695F00; is_world_enabled = true; ui_renderer = table: 000000000895A640; default_ui_renderer = table: 000000000895A640; render_settings = table: 000000000895B740; saved_start_layer = 0; alpha_multiplier = nil; currently_visible_elements = table: 000000000895B710; elements_hud_scale_lookup = table: 000000000B59D7A0; elements_array = table: 000000000B59D770; elements_hud_retained_mode_lookup = table: 000000000895B5B0; hud_scale_applied = true; i = 32; element = table: 000000000A94F200; element_name = "HudElementSmartTagging"; use_retained_mode = nil
  
  [7] self = table: 00000000021C2010; dt = 0.01525569986552; t = 418.7980118027902; world = [World]; ui_constant_elements = table: 00000000030BA720; hud = table: 000000000895BBA0; spectator_hud = nil; input_service = table: 0000000003695F00
  
  [8] self = table: 0000000000133010; t = 418.7980118027902; dt = 0.01525569986552; ui_manager = table: 00000000021C2010
  
  [9] self = table: 00000000001ABBE0
  
  [10] self = table: 000000000007EE70
  
  
<</Lua Locals>>


<<Lua Self>>  

  
  [1] _world_markers_list = table: 00000000001BBE80; _definitions = table: 0000000007F3FF10; _widgets_by_name = table: 0000000008114AC0; _com_wheel_context = table: 0000000009D8B890; _wheel_active_progress = 0; _entries = table: 0000000008089260; _interaction_scan_delay = 0.20000000000000001; _presented_smart_tags_by_marker_id = table: 0000000008089230; _ui_scenegraph = table: 000000000B773290; _interaction_scan_delay_duration = 0.20000000000000001; _tag_context = table: 000000000922DAC0; _interaction_line_widget = table: 0000000009D8B860; _event_list = table: 000000000A94F230; _widgets = table: 0000000008114DB0; _presented_smart_tags_by_tag_id = table: 0000000008089490; _draw_layer = 301; _last_widget_hover_data = table: 0000000008089460; _active_interaction_data = table: 000000000CCCCC80; _parent = table: 000000000895BBA0; _wheel_active = false; 
  
  [2] _world_markers_list = table: 00000000001BBE80; _definitions = table: 0000000007F3FF10; _widgets_by_name = table: 0000000008114AC0; _com_wheel_context = table: 0000000009D8B890; _wheel_active_progress = 0; _entries = table: 0000000008089260; _interaction_scan_delay = 0.20000000000000001; _presented_smart_tags_by_marker_id = table: 0000000008089230; _ui_scenegraph = table: 000000000B773290; _interaction_scan_delay_duration = 0.20000000000000001; _tag_context = table: 000000000922DAC0; _interaction_line_widget = table: 0000000009D8B860; _event_list = table: 000000000A94F230; _widgets = table: 0000000008114DB0; _presented_smart_tags_by_tag_id = table: 0000000008089490; _draw_layer = 301; _last_widget_hover_data = table: 0000000008089460; _active_interaction_data = table: 000000000CCCCC80; _parent = table: 000000000895BBA0; _wheel_active = false; 
  
  [3] _world_markers_list = table: 00000000001BBE80; _definitions = table: 0000000007F3FF10; _widgets_by_name = table: 0000000008114AC0; _com_wheel_context = table: 0000000009D8B890; _wheel_active_progress = 0; _entries = table: 0000000008089260; _interaction_scan_delay = 0.20000000000000001; _presented_smart_tags_by_marker_id = table: 0000000008089230; _ui_scenegraph = table: 000000000B773290; _interaction_scan_delay_duration = 0.20000000000000001; _tag_context = table: 000000000922DAC0; _interaction_line_widget = table: 0000000009D8B860; _event_list = table: 000000000A94F230; _widgets = table: 0000000008114DB0; _presented_smart_tags_by_tag_id = table: 0000000008089490; _draw_layer = 301; _last_widget_hover_data = table: 0000000008089460; _active_interaction_data = table: 000000000CCCCC80; _parent = table: 000000000895BBA0; _wheel_active = false; 
  
  [4] _world_markers_list = table: 00000000001BBE80; _definitions = table: 0000000007F3FF10; _widgets_by_name = table: 0000000008114AC0; _com_wheel_context = table: 0000000009D8B890; _wheel_active_progress = 0; _entries = table: 0000000008089260; _interaction_scan_delay = 0.20000000000000001; _presented_smart_tags_by_marker_id = table: 0000000008089230; _ui_scenegraph = table: 000000000B773290; _interaction_scan_delay_duration = 0.20000000000000001; _tag_context = table: 000000000922DAC0; _interaction_line_widget = table: 0000000009D8B860; _event_list = table: 000000000A94F230; _widgets = table: 0000000008114DB0; _presented_smart_tags_by_tag_id = table: 0000000008089490; _draw_layer = 301; _last_widget_hover_data = table: 0000000008089460; _active_interaction_data = table: 000000000CCCCC80; _parent = table: 000000000895BBA0; _wheel_active = false; 
  
  [6] _world_name = "level_world"; _visibility_groups = table: 0000000004CAA490; _element_using_input = false; _current_group_name = "alive"; _extensions = table: 000000000BE9B820; _refresh_retained = true; _elements_array = table: 000000000B59D770; _player_viewport_name = "player1"; _element_definitions = table: 000000000895B5E0; _currently_visible_elements = table: 000000000895B710; _ui_renderer_name = "UIHud_table000000000895BBA0_UIHud_ui_renderer"; _communication_wheel_state = "inactive"; _camera = [Camera]; _unique_id = "UIHud_table000000000895BBA0_"; _elements = table: 000000000B59D740; _ui_renderer = table: 000000000895A640; _params = t<</Lua Self>>
  

<<Lua Upvalues>>  


  [1] _get_input_text = [function]; description_format_localization_params = table: 0000000007F43920
  
  [3] UIWidget = table: 0000000005B7F480; HudElementSmartTagging = table: 0000000007F42F00
  
  [4] UIRenderer = table: 0000000005B626C0
  
  [5] get_hook_chain = [function]; orig = [function]; fn = [function]; get_return_values = [function]; _hooks = table: 0000000003879D60; HOOK_TYPE_SAFE = 2
  
  [8] time_name = "main"
  
  
<</Lua Upvalues>>

[Log end]

[PC] Do You Use Mods? (Optional):

Yes, and I’ve tried disabling them

Reproduction Rate (Required):

Often (<75%)

Platform (Required):

PC - Steam

Seems there is some trouble with the Mod Loader, or Darktide Mod Framework. I understand you say this issue persists with mods disabled, in which case, please share a crash report or console log from a session where no mods are active. Thank you! :slight_smile:

1 Like