I am not sure really sure what cause it. Burned chair can cause crash because occupier is nil. I can't find out what is the cause. I tested multiple times on test server. It didn't cause a crash. But somehow it did. There is no mod in server.
[string "scripts/components/sittable.lua"]:23: attempt to index field 'occupier' (a nil value) LUA ERROR stack traceback: scripts/components/sittable.lua:23 in (local) fn (Lua) <22-24> inst = 102273 - wood_chair (valid:true) scripts/entityscript.lua:1178 in (method) PushEvent (Lua) <1165-1192> self (valid:true) = GUID = 102273 Transform = Transform (25FA1DD0) inlimbo = false actionreplica = table: 25FBA020 event_listening = table: 25FBA8B8 actioncomponents = table: 25FBA0E8 lower_components_shadow = table: 25FB9FF8 entity = Entity (25E32828) AnimState = AnimState (25FA1D50) prefab = wood_chair children = table: 4760B848 pendingtasks = table: 421B3ED8 OnSave = function - scripts/prefabs/furniture_chairs.lua:52 Network = Network (25FA1E10) Physics = Physics (25FA24B0) skin_id = 1999305727 skinname = wood_chair_handmade SoundEmitter = SoundEmitter (25FA1D90) name = Wooden Chair OnLoad = function - scripts/prefabs/furniture_chairs.lua:59 event_listeners = table: 25FBA818 spawntime = 0 highlightchildren = table: 25FBA278 replica = table: 25FB9C38 persists = true components = table: 25FB9EB8 back = 102274 - wood_chair_back (valid:true) event = onignite data = table: 3CC5BEE8 listeners = table: 114B8AC0 tocall = table: 439E4DC8 i = 1 fn = function - scripts/components/sittable.lua:22 scripts/components/burnable.lua:338 in (method) Ignite (Lua) <330-353> self = onburnt = function - scripts/prefabs/furniture_chairs.lua:36 onextinguish = function - scripts/standardcomponents.lua:43 fxdata = table: 25FBACC8 smoke = 180929 - smoke_plant (valid:false) onignite = function - scripts/standardcomponents.lua:9 _ = table: 25FBAF70 flammability = 1 burntime = 10 inst = 102273 - wood_chair (valid:true) extinguishimmediately = true fxlevel = 2 fxchildren = table: 25FBAB60 lightningimmune = false immediate = nil source = nil doer = nil scripts/components/burnable.lua:233 in (field) fn (Lua) <204-241> inst = 102273 - wood_chair (valid:true) self = onburnt = function - scripts/prefabs/furniture_chairs.lua:36 onextinguish = function - scripts/standardcomponents.lua:43 fxdata = table: 25FBACC8 smoke = 180929 - smoke_plant (valid:false) onignite = function - scripts/standardcomponents.lua:9 _ = table: 25FBAF70 flammability = 1 burntime = 10 inst = 102273 - wood_chair (valid:true) extinguishimmediately = true fxlevel = 2 fxchildren = table: 25FBAB60 lightningimmune = false x = -4 y = 0 z = -274.5 ents = table: 106B6DC0 nearbyheat = -58.262409221519 heatmod = 1 scripts/scheduler.lua:186 in (method) OnTick (Lua) <164-216> self = running = table: 0B3642A8 waitingfortick = table: 0B3642F8 hibernating = table: 0B364410 tasks = table: 0B3646E0 waking = table: 4311BE98 attime = table: 0B3645F0 tick = 83046 k = PERIODIC 102273: 2.000000 v = true already_dead = nil scripts/scheduler.lua:409 in (global) RunScheduler (Lua) <407-415> tick = 83046 scripts/update.lua:240 in () ? (Lua) <224-298> dt = 0.033333335071802 tick = 83046 i = 83046 [00:48:13]: [string "scripts/components/sittable.lua"]:23: attempt to index field 'occupier' (a nil value) LUA ERROR stack traceback: scripts/components/sittable.lua:23 in (local) fn (Lua) <22-24> scripts/entityscript.lua:1178 in (method) PushEvent (Lua) <1165-1192> scripts/components/burnable.lua:338 in (method) Ignite (Lua) <330-353> scripts/components/burnable.lua:233 in (field) fn (Lua) <204-241> scripts/scheduler.lua:186 in (method) OnTick (Lua) <164-216> scripts/scheduler.lua:409 in (global) RunScheduler (Lua) <407-415> scripts/update.lua:240 in () ? (Lua) <224-298>
Steps to Reproduce
Unable to reproduce.
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 accountSign in
Already have an account? Sign in here.
Sign In Now