Jump to content

Crash upon killing a city pig


JohnWatson
  • Version: PC/MAC/Linux Pending

Screenshot of crash screen:

crash_3a2sd4f6.thumb.jpg.600583e90eb14755d44a69f2668aafb2.jpg

Stack traceback from ~/.klei/DoNotStarve/log.txt:

scripts/mainfunctions.lua:168: bad argument #1 to 'find' (string expected, got nil)
LUA ERROR stack traceback:
=[C]:-1 in (field) find (C) <-1--1>
scripts/mainfunctions.lua:168 in (global) SpawnPrefab (Lua) <164-174>
   name = nil
scripts/components/spawner.lua:206 in (method) ReleaseChild (Lua) <187-265>
   self =
      inst = 110190 - pighouse_city (valid:true)
      spawnoffscreen = false
      delay = 0
   child = nil
   childname = nil
scripts/components/spawner.lua:16 in (field) fn (Lua) <12-19>
   inst = 110190 - pighouse_city (valid:true)
   spawner = table: 0x1077dc20
scripts/scheduler.lua:195 in (method) OnTick (Lua) <169-226>
   self =
      running = table: 0xd3221b0
      waitingfortick = table: 0xabafeb0
      tasks = table: 0x20e51670
      waking = table: 0x14519870
      attime = table: 0x26241800
      hibernating = table: 0xd2ae440
   tick = 354
   k = PERIODIC 110190: 0.000000
   v = true
   already_dead = false
scripts/scheduler.lua:402 in (global) RunScheduler (Lua) <400-408>
   tick = 354
scripts/update.lua:105 in () ? (Lua) <90-191>
   dt = 0.033333335071802
   tick = 354
   i = 354

scripts/mainfunctions.lua(864,1) LUA ERROR stack traceback:
        scripts/mainfunctions.lua(864,1)	
scripts/mainfunctions.lua(865,1) scripts/mainfunctions.lua:168: bad argument #1 to 'find' (string expected, got nil)
LUA ERROR stack traceback:
    =[C]:-1 in (field) find (C) <-1--1>
    scripts/mainfunctions.lua:168 in (global) SpawnPrefab (Lua) <164-174>
    scripts/components/spawner.lua:206 in (method) ReleaseChild (Lua) <187-265>
    scripts/components/spawner.lua:16 in (field) fn (Lua) <12-19>
    scripts/scheduler.lua:195 in (method) OnTick (Lua) <169-226>
    scripts/scheduler.lua:402 in (global) RunScheduler (Lua) <400-408>
    scripts/update.lua:105 in () ? (Lua) <90-191>
	
scripts/frontend.lua(738,1) SCRIPT ERROR! Showing error screen	

 


Steps to Reproduce
1) Go to a pig city. 2) Save and quit the world whilst pigs are onscreen. 3) Log back in to the world. 4) Kill one of the non-guard pigs onscreen.



User Feedback



×
  • Create New...