Got this error after save/loading:
-- Script Error (lua) Begin -------------------------------
...nts/shepherd_pasture/shepherd_pasture_component.luac:16: attempt to call method 'bind' (a nil value)
radiant/modules/events.luac:43: in function 'bind'
...nts/shepherd_pasture/shepherd_pasture_component.luac:16: in function '_load_timers'
...nts/shepherd_pasture/shepherd_pasture_component.luac:12: in function 'obj'
radiant/modules/events.luac:14: in function 'self'
radiant/modules/events.luac:54: in function <radiant/modules/events.luac:52>
[C]: in function 'xpcall'
radiant/modules/events.luac:52: in function <radiant/modules/events.luac:45>
-- Lua Error End -------------------------------
Link to full log (95.4 KB)
Link to save
Things I recall doing before save/loading: deleting two unbuilt buildings, and deleting scaffolding/ladders that were stuck in a wall via the console commands. Though, I think those are unrelated.
Actually i’ve no Shepherd cause I demoted him to a trapper due the fact that he wasn’t killing the animals or feeding them…
…and this popped out after the demote.
Thanks for the bug report. I’ve made a fix for this – it should fix the save file as well. Look for it next alpha 12 unstable push.
Happens when I load my savegame. No idea what causes it. Seems to be cosmetic, though my shepherd isn’t using the pastures.Persists when I delete and remake pastures.
…nts/shepherd_pasture/shepherd_pasture_component.luac:12: attempt to index field ‘reproduction_timer’ (a nil value)
…nts/shepherd_pasture/shepherd_pasture_component.luac:12: in function <…nts/shepherd_pasture/shepherd_pasture_component.luac:2>
c++ exception: lua runtime error
hey there @Hieronymous … merged yours as this sounds fairly similar to this existing report (both happening on load)…
@yshan, think this is likely resolved with the fix you mentioned earlier?
I just examined the code and old save games will continue to have this problem. New games should obviously be fine.
This is my bad. As part of fixing old saves, I broke saves that didn’t need to be fixed. Bah. Fixing now.