Jump to content

yots_lanternpost, attempt to index local 'inst' (a nil value)


FurryEskimo
  • Pending

Hello,

I must admit I'm not sure how to recreate this issue, but the vanilla item appears to have glitched.  Thought you'd like to know.  I don't think I did anything that could have caused it.  I doubt this report will be very helpful, but I'm trying.  I was able to revert the world, but that's the only way I was able to undo the issue.

Note: There's a chance I screwed it up somehow, please don't waste too much time on this if it's nothing.

[00:00:53]: [string "scripts/prefabs/yots_lantern_post.lua"]:58: attempt to index local 'inst' (a nil value)
LUA ERROR stack traceback:
scripts/prefabs/yots_lantern_post.lua:58 in (upvalue) IsLightOn (Lua) <57-59>
   inst = nil
scripts/prefabs/yots_lantern_post.lua:645 in (method) OnLoadPostPass (Lua) <637-665>
   inst = 105893 - yots_lantern_light_chain (valid:true)
   partner1 = nil
   partner2 = nil
scripts/entityscript.lua:1856 in (method) LoadPostPass (Lua) <1845-1858>
   self (valid:true) =
      GUID = 105893
      Transform = Transform (0000000044A587B0)
      inlimbo = false
      actionreplica = table: 0000000044A36E40
      actioncomponents = table: 0000000044A37840
      lower_components_shadow = table: 0000000044A36BC0
      entity = Entity (0000000044A41000)
      partner1 = net_entity (0000000044A36A30)
      prefab = yots_lantern_light_chain
      Light = Light (0000000044A587E0)
      enablelight = net_tinybyte (0000000044A36C10)
      Network = Network (0000000044A59620)
      persists = true
      light_radius = 3
      pendingtasks = table: 0000000044A373E0
      spawntime = 0
      name = MISSING NAME
      replica = table: 0000000044A378E0
      OnLoadPostPass = function - scripts/prefabs/yots_lantern_post.lua:637
      components = table: 0000000044A36990
      partner2 = net_entity (0000000044A37660)
   newents = table: 0000000014427490
   savedata = nil
scripts/gamelogic.lua:674 in (upvalue) PopulateWorld (Lua) <395-702>
   savedata = table: 0000000017F01AB0
   profile = table: 000000001002ECB0
   savedata_overrides = table: 000000000B891F60
   world = 100029 - world (valid:true)
   map = Map (00000000334CE530)
   newents = table: 0000000014427490
   k = 105893 - yots_lantern_light_chain (valid:true)
   v = table: 0000000044A2E240
scripts/gamelogic.lua:976 in (upvalue) DoInitGame (Lua) <859-1055>
   savedata = table: 0000000017F01AB0
   profile = table: 000000001002ECB0
   was_file_load = false
   options = table: 0000000017F01970
   Levels = table: 0000000011245A30
scripts/gamelogic.lua:1089 in (local) cb (Lua) <1083-1090>
   savedata = table: 0000000017F01AB0
scripts/shardindex.lua:214 in (upvalue) OnLoadSaveDataFile (Lua) <196-215>
   file = session/1DE571C756A76995/0000001447
   cb = function - scripts/gamelogic.lua:1083
   load_success = true
   str = local savedata = {}
local tablefunctions = {}
tablefunctions["shard_network_fn"] = function()
return {persistdata={shard_daywalkerspawner={location="cavejail"}}}
end
savedata["shard_network"] = tablefunctions["shard_network_fn"]()
tablefunctions["mods_fn"] = function()
return {}
end
savedata["mods"] = tablefunctions["mods_fn"]()
tablefunctions["meta_fn"] = function()
return {build_version="494138",level_id="SURVIVAL_TOGETHER",session_identifier="1DE571C756A76995",build_date="673",saveversion=5.156,seed=1644095666,generated_on_saveversion=5.1,build_time="00:00:42"}
end
savedata["meta"] = tablefunctions["meta_fn"]()
savedata["ents"] = {}
tablefunctions["ents_halloween_ornament_1_fn"] = function()
return {{x=-566,z=-30},{x=566,z=226}}
end
savedata["ents"]["halloween_ornament_1"] = tablefunctions["ents_halloween_ornament_1_fn"]()
tablefunctions["ents_antlion_spawner_fn"] = function()
return {{x=-184,z=320}}
end
savedata["ents"]["antlion_spawner"] = tablefunctions["ents_antlion_spawner_fn"]()
tablefunctions["ents_ [**truncated**]
   success = true
   savedata = table: 0000000017F01AB0
scripts/shardindex.lua:219 in () ? (Lua) <218-220>
   load_success = true
   str = local savedata = {}
local tablefunctions = {}
tablefunctions["shard_network_fn"] = function()
return {persistdata={shard_daywalkerspawner={location="cavejail"}}}
end
savedata["shard_network"] = tablefunctions["shard_network_fn"]()
tablefunctions["mods_fn"] = function()
return {}
end
savedata["mods"] = tablefunctions["mods_fn"]()
tablefunctions["meta_fn"] = function()
return {build_version="494138",level_id="SURVIVAL_TOGETHER",session_identifier="1DE571C756A76995",build_date="673",saveversion=5.156,seed=1644095666,generated_on_saveversion=5.1,build_time="00:00:42"}
end
savedata["meta"] =

 


Steps to Reproduce

No idea, sorry.




User Feedback




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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...