Please choose a category
[Crash]
Platform
- Steam
Do you use mods?
yes
Version Number
2016-02-26_14-15-59 Rev. 168028
Issue title
Crash related to poison birch trees
Steps to reproduce
Exact steps unknown, suspect it has to do with poison birch trees or birchnutters due to error message.
Describe your issue
While playing, I had spawned about 10 or so poison birch trees while chopping down stuff in a deciduous forest. When I spawned one, I would move to another area of the forest and chop trees there until I spawned another, then I would move on again. While roaming around, the game crashed with the attached error. I've also pasted a text version below. Note that I posted this in the normal Don't Starve bug tracker, and was asked to post it here, but this happened while playing normal Don't Starve RoG content (not Shipwrecked).
The line that seems to be causing the problem is:
if dtu and dtu.numdrakes <= 0 and dtu.drakespawntask then
It seems that under certain conditions (I haven't nailed down exactly why yet), dtu.numdrakes returns nil instead of a value.
F:/Program Files (x86)/Games/Steam/steamapps/common/don’t_starve/data/scripts/components/deciduoustreeupdaterllua:216: attempt to compare nil with number
LUA ERROR stack traceback:
F:/Program Files (x86)/Games/Steam/steamapps/common/don’t_starve/data/scripts/components/deciduoustreeupdater.lua:216 in (field) fn (Lua) <214-235>
F:/Program Files (x86)/Games/Steam/steamapps/common/don’t_starve/data/scripts/scheduler.lua:187 in (method) OnTick (Lua) <161-217>
F:/Program Files (x86)/Games/Steam/steamapps/common/don’t_starve/data/scripts/scheduler.lua:399 in (global) RunScheduler (Lua) <397-405>
F:/Program Files (x86)/Games/Steam/steamapps/common/don’t_starve/data/scripts/update.lua:87 in () ? (Lua) <73-139>
This error may have occurred due to a mod you have enabled!
You have the following nods enabled:
"Geometric Placement"
Exact steps unknown, suspect it has to do with poison birch trees or birchnutters due to error message.