[Crash] SGdoydoy.lua:286: attempt to index field 'partner'


rezecib

Recommended Posts

I had just reunited the two doydoys on an island, and was sailing past it on another day at about the right distance for the entities to become awake/asleep (perhaps only one awoke?). It crashed. Here's the stack trace from my log: 

Spoiler

...on/dont_starve/data/scripts/stategraphs/SGdoydoy.lua:286: attempt to index field 'partner' (a nil value)
LUA ERROR stack traceback:
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/stategraphs/SGdoydoy.lua:286 in (field) onenter (Lua) <278-301>
   inst = 112454 - doydoy (valid:true)
   p1 = (472.48, 0.00, 381.17)
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/stategraph.lua:415 in (method) GoToState (Lua) <374-425>
   self =
      tags = table: 5051C150
      mem = table: 0EA8AEF8
      statemem = table: 5051C088
      currentstate = table: 0B07F848
      timelineindex = 1
      timeinstate = 0
      sg = Stategraph : doydoy
      inst = 112454 - doydoy (valid:true)
      bufferedevents = table: 456AA590
      lastupdatetime = 1601.8000835404
      statestarttime = 1601.8000835404
      laststate = table: 0B07F370
      prevstate = table: 0B07F370
   statename = jumpin
   params = nil
   state = table: 0B07F848
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/stategraphs/SGdoydoy.lua:269 in () ? (Lua) <268-270>
   inst = 112454 - doydoy (valid:true)
=(tail call):-1 in ()  (tail) <-1--1>
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/stategraph.lua:358 in (method) HandleEvents (Lua) <353-368>
   self =
      tags = table: 5051C150
      mem = table: 0EA8AEF8
      statemem = table: 5051C088
      currentstate = table: 0B07F848
      timelineindex = 1
      timeinstate = 0
      sg = Stategraph : doydoy
      inst = 112454 - doydoy (valid:true)
      bufferedevents = table: 456AA590
      lastupdatetime = 1601.8000835404
      statestarttime = 1601.8000835404
      laststate = table: 0B07F370
      prevstate = table: 0B07F370
   k = 1
   event = table: 456AB8F0
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/stategraph.lua:131 in (method) Update (Lua) <95-134>
   self =
      updaters = table: 5051C4E8
      OnEnterNewState = function - @C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/stategraph.lua:27
      tickwaiters = table: 4473A948
      haveEvents = table: 5051C3A8
      hibernaters = table: 4473A970
      instances = table: 4473A8F8
   current_tick = 48088
   waiters = nil
   updaters = table: 456A9F50
   evs = table: 456AA7C0
   k = sg="doydoy", state="jumpin", time=1.13, tags = "mating,busy,"
   v = true
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/update.lua:126 in () ? (Lua) <73-139>
   dt = 0.033333335071802
   tick = 48088
   i = 48088
scripts/mainfunctions.lua(849,1) ...on/dont_starve/data/scripts/stategraphs/SGdoydoy.lua:286: attempt to index field 'partner' (a nil value)
LUA ERROR stack traceback:
    C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/stategraphs/SGdoydoy.lua:286 in (field) onenter (Lua) <278-301>
    C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/stategraph.lua:415 in (method) GoToState (Lua) <374-425>
    C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/stategraphs/SGdoydoy.lua:269 in () ? (Lua) <268-270>
    =(tail call):-1 in ()  (tail) <-1--1>
    C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/stategraph.lua:358 in (method) HandleEvents (Lua) <353-368>
    C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/stategraph.lua:131 in (method) Update (Lua) <95-134>
    C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/update.lua:126 in () ? (Lua) <73-139>

 

(also, the page becomes completely nonfunctional when pasting large things like logs into spoilers. There's no option to edit the raw bbcode directly, which would help circumvent issues like this... also I couldn't post my full log, even with a bunch of duplicate lines removed, because the spoiler was cutting it off)

Link to comment
Share on other sites

Well, I tried pastebinning it, but it exceeded the 512kb limit... I had been playing for a long time and it looked like there was quite a bit of log spam with Stale Component Reference and FMOD errors.

Edit: I also tried pasting in a 2k line version with most of those duplicates cut out, but the forums page was too slow to submit even for that.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.