Jump to content

Wardrobes and chat crash


CossonWool
  • Fixed

The player HUD won't show up after you leave a wardrobe when you entered it with chat open.

Edit: also happens if you enter the pause menu before opening the wardrobe.

Edit Edit: added crash to the bug title. When you enter the wardrobe with chat open, then receive a chat message, the game crashes. Crash log in the spoiler.

Spoiler

[00:01:48]: [string "scripts/widgets/text.lua"]:148: attempt to compare number with nil
LUA ERROR stack traceback:
scripts/widgets/text.lua:148 in (method) SetTruncatedString (Lua) <135-156>
   self =
      enabled = true
      focus_target = false
      shown = true
      colour = table: 4FA3C178
      callbacks = table: 45D78470
      can_fade_alpha = true
      focus_flow_args = table: 45D787B8
      font = talkingfont
      inst = 100579 -  (valid:false)
      focus = false
      focus_flow = table: 45D78718
      name = Text
      children = table: 45D78330
      size = 30
   str = wb
   maxwidth = 850
   maxchars = 150
   ellipses = ...
scripts/widgets/chatqueue.lua:169 in (method) RefreshWidgets (Lua) <154-214>
   self =
      widget_rows = table: 45D74AA0
      callbacks = table: 45D74CF8
      chat_queue_data = table: 45D74A78
      inst = 100563 -  (valid:false)
      focus = false
      message_width = 850
      children = table: 45D74C80
      focus_flow_args = table: 45D74A50
      focus_target = false
      user_width = 160
      owner = 100226 - wortox (valid:true)
      chat_font = talkingfont
      can_fade_alpha = true
      message_max_chars = 150
      user_max_chars = 28
      name = ChatQueue
      chat_height = 50
      focus_flow = table: 45D74CA8
      enabled = true
      chat_size = 30
      shown = true
   current_time = 35.433335181326
   i = 4
   row_data = table: 30847D58
   y = -528
   alpha_fade = 1
   c = table: 30847B78
   msg = Text - 
scripts/widgets/chatqueue.lua:151 in (method) PushMessage (Lua) <136-152>
   self =
      widget_rows = table: 45D74AA0
      callbacks = table: 45D74CF8
      chat_queue_data = table: 45D74A78
      inst = 100563 -  (valid:false)
      focus = false
      message_width = 850
      children = table: 45D74C80
      focus_flow_args = table: 45D74A50
      focus_target = false
      user_width = 160
      owner = 100226 - wortox (valid:true)
      chat_font = talkingfont
      can_fade_alpha = true
      message_max_chars = 150
      user_max_chars = 28
      name = ChatQueue
      chat_height = 50
      focus_flow = table: 45D74CA8
      enabled = true
      chat_size = 30
      shown = true
   username = frankwizza
   message = uy
   colour = table: 30847E20
   whisper = false
   nolabel = false
   profileflair = profileflair_wererabbit
scripts/widgets/chatqueue.lua:133 in (method) OnMessageReceived (Lua) <126-134>
   self =
      widget_rows = table: 45D74AA0
      callbacks = table: 45D74CF8
      chat_queue_data = table: 45D74A78
      inst = 100563 -  (valid:false)
      focus = false
      message_width = 850
      children = table: 45D74C80
      focus_flow_args = table: 45D74A50
      focus_target = false
      user_width = 160
      owner = 100226 - wortox (valid:true)
      chat_font = talkingfont
      can_fade_alpha = true
      message_max_chars = 150
      user_max_chars = 28
      name = ChatQueue
      chat_height = 50
      focus_flow = table: 45D74CA8
      enabled = true
      chat_size = 30
      shown = true
   name = frankwizza
   prefab = warly
   message = uy
   colour = table: 30847E20
   whisper = false
   profileflair = profileflair_wererabbit
scripts/networking.lua:142 in () ? (Lua) <117-146>
   guid = 101515
   userid = KU_VXe2_Cbu
   name = frankwizza
   prefab = warly
   message = uy
   colour = table: 30847E20
   whisper = false
   isemote = false
   user_vanity = table: 30847DD0
   entity = 101515 - warly (valid:true)
   hud = HUD
   profileflair = profileflair_wererabbit

[00:01:48]: [string "scripts/widgets/text.lua"]:148: attempt to compare number with nil
LUA ERROR stack traceback:
    scripts/widgets/text.lua:148 in (method) SetTruncatedString (Lua) <135-156>
    scripts/widgets/chatqueue.lua:169 in (method) RefreshWidgets (Lua) <154-214>
    scripts/widgets/chatqueue.lua:151 in (method) PushMessage (Lua) <136-152>
    scripts/widgets/chatqueue.lua:133 in (method) OnMessageReceived (Lua) <126-134>
    scripts/networking.lua:142 in () ? (Lua) <117-146>
    
[00:01:48]: Stale Component Reference: GUID 100603, scripts/widgets/widget.lua:311
[00:01:48]: Stale Component Reference: GUID 100453, scripts/widgets/widget.lua:292
[00:01:48]: Stale Component Reference: GUID 100426, scripts/widgets/widget.lua:311
[00:01:48]: Stale Component Reference: GUID 100422, scripts/widgets/widget.lua:292
[00:01:48]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is     ScriptErrorWidget    not a screen?    
[00:01:48]: stack traceback:
    scripts/widgets/widget.lua:602 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:649 in (method) SetFocus (Lua) <626-658>
    scripts/widgets/scripterrorwidget.lua:107 in (method) OnUpdate (Lua) <102-119>
    scripts/update.lua:90 in () ? (Lua) <33-129>    
[00:01:48]: Stale Component Reference: GUID 100574, scripts/widgets/text.lua:145
[00:01:48]: Stale Component Reference: GUID 100574, scripts/widgets/text.lua:148
[00:01:48]: Stale Component Reference: GUID 100569, scripts/widgets/text.lua:145
[00:01:48]: Stale Component Reference: GUID 100569, scripts/widgets/text.lua:148
[00:01:48]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is     ScriptErrorWidget    not a screen?    
[00:01:48]: stack traceback:
    scripts/widgets/widget.lua:602 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:621 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:621 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:621 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:649 in (method) SetFocus (Lua) <626-658>
    scripts/widgets/scripterrorwidget.lua:107 in (method) OnUpdate (Lua) <102-119>
    scripts/update.lua:90 in () ? (Lua) <33-129>    
[00:01:49]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is     ScriptErrorWidget    not a screen?    
[00:01:49]: stack traceback:
    scripts/widgets/widget.lua:602 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:649 in (method) SetFocus (Lua) <626-658>
    scripts/widgets/scripterrorwidget.lua:107 in (method) OnUpdate (Lua) <102-119>
    scripts/update.lua:90 in () ? (Lua) <33-129>    
[00:01:49]: Stale Component Reference: GUID 100564, scripts/widgets/text.lua:145
[00:01:49]: Stale Component Reference: GUID 100564, scripts/widgets/text.lua:148
[00:01:49]: Stale Component Reference: GUID 100564, scripts/widgets/text.lua:145
[00:01:49]: Stale Component Reference: GUID 100564, scripts/widgets/text.lua:148
[00:01:49]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is     ScriptErrorWidget    not a screen?    
[00:01:49]: stack traceback:
    scripts/widgets/widget.lua:602 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:621 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:621 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:621 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:649 in (method) SetFocus (Lua) <626-658>
    scripts/widgets/scripterrorwidget.lua:107 in (method) OnUpdate (Lua) <102-119>
    scripts/update.lua:90 in () ? (Lua) <33-129>    
[00:01:51]: Stale Component Reference: GUID 100564, scripts/widgets/text.lua:145
[00:01:51]: Stale Component Reference: GUID 100564, scripts/widgets/text.lua:148
[00:01:51]: Stale Component Reference: GUID 100564, scripts/widgets/text.lua:145
[00:01:51]: Stale Component Reference: GUID 100564, scripts/widgets/text.lua:148
[00:01:52]: Stale Component Reference: GUID 100564, scripts/widgets/text.lua:145
[00:01:52]: Stale Component Reference: GUID 100564, scripts/widgets/text.lua:148
[00:01:53]: Stale Component Reference: GUID 100564, scripts/widgets/text.lua:145
[00:01:53]: Stale Component Reference: GUID 100564, scripts/widgets/text.lua:148
[00:01:54]: Stale Component Reference: GUID 100564, scripts/widgets/text.lua:145
[00:01:54]: Stale Component Reference: GUID 100564, scripts/widgets/text.lua:148
[00:01:55]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is     ScriptErrorWidget    not a screen?    
[00:01:55]: stack traceback:
    scripts/widgets/widget.lua:602 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:649 in (method) SetFocus (Lua) <626-658>
    scripts/widgets/scripterrorwidget.lua:107 in (method) OnUpdate (Lua) <102-119>
    scripts/update.lua:90 in () ? (Lua) <33-129>    
[00:01:56]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is     ScriptErrorWidget    not a screen?    
[00:01:56]: stack traceback:
    scripts/widgets/widget.lua:602 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:621 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:621 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:621 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:649 in (method) SetFocus (Lua) <626-658>
    scripts/widgets/scripterrorwidget.lua:107 in (method) OnUpdate (Lua) <102-119>
    scripts/update.lua:90 in () ? (Lua) <33-129>    

 


Steps to Reproduce
Click on a wardrobe to open it (preferably from a distance so the next step is easier), before your character opens the wardrobe enter the chat interface, once in the wardrobe interface press cancel, the HUD should be bugged now.



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...