LUA save file corrupted


kelurps
  • Pending

Whenever I log off, i cannot get back in my server unless I perform a rollback. Here's what it says. (I am playing on a modded world)Screenshot_2.png

If anyone can help as soon as possible that'd be great! Here's the log:

 

[00:01:39]: Could not preload undefined prefab 0xc53063d5 (FROMNUM)
[00:01:39]: Could not preload undefined prefab 0xc53063d5 (FROMNUM)
[00:01:39]: Could not preload undefined prefab 0xc53063d5 (FROMNUM)
[00:01:39]: Could not preload undefined prefab 0xc53063d5 (FROMNUM)
[00:01:39]: Could not preload undefined prefab 0xc53063d5 (FROMNUM)
[00:01:39]: Could not preload undefined prefab 0xc53063d5 (FROMNUM)
[00:01:39]: Mod: workshop-361994110 (Bee Nice)    Registering prefabs    
[00:01:39]: Mod: workshop-361994110 (Bee Nice)      Registering default mod prefab    
[00:01:39]: Mod: workshop-647434691 (5x Crop Collection)    Registering prefabs    
[00:01:39]: Mod: workshop-647434691 (5x Crop Collection)      Registering default mod prefab    
[00:01:39]: Mod: workshop-661253977 ( Don't Drop Everything)    Registering prefabs    
[00:01:39]: Mod: workshop-661253977 ( Don't Drop Everything)      Registering default mod prefab    
[00:01:39]: Mod: workshop-378160973 (Global Positions)    Registering prefabs    
[00:01:39]: Mod: workshop-378160973 (Global Positions)      Registering prefab file: prefabs/globalposition_classified    
[00:01:39]: Mod: workshop-378160973 (Global Positions)        globalposition_classified    
[00:01:39]: Mod: workshop-378160973 (Global Positions)      Registering prefab file: prefabs/smoketrail    
[00:01:39]: Mod: workshop-378160973 (Global Positions)        smoketrail    
[00:01:39]: Mod: workshop-378160973 (Global Positions)      Registering prefab file: prefabs/globalplayericon    
[00:01:39]: Mod: workshop-378160973 (Global Positions)        globalplayericon    
[00:01:39]: Mod: workshop-378160973 (Global Positions)      Registering prefab file: prefabs/pings    
[00:01:39]: Mod: workshop-378160973 (Global Positions)        ping_generic    
[00:01:39]: Mod: workshop-378160973 (Global Positions)        ping_omw    
[00:01:39]: Mod: workshop-378160973 (Global Positions)        ping_danger    
[00:01:39]: Mod: workshop-378160973 (Global Positions)        ping_explore    
[00:01:39]: Mod: workshop-378160973 (Global Positions)        ping_gohere    
[00:01:39]: Mod: workshop-378160973 (Global Positions)      Registering default mod prefab    
[00:01:39]: Mod: workshop-624883463 (Stackable Equipments)    Registering prefabs    
[00:01:39]: Mod: workshop-624883463 (Stackable Equipments)      Registering default mod prefab    
[00:01:39]:     LOAD BE    
[00:01:40]:     LOAD BE: done    
[00:01:40]: Loading world: session/1A770EE382011A8A/0000000029    
[00:01:40]: [string "scripts/saveindex.lua"]:277: Corrupt Save file [session/1A770EE382011A8A/0000000029]
LUA ERROR stack traceback:
=[C]:-1 in (global) assert (C) <-1--1>
scripts/saveindex.lua:277 in () ? (Lua) <263-282>
   load_success = true
   str = return {world_network={persistdata={clock={moonphase="half",cycles=25,phase="night",remainingtimeinphase=145.50254821777,totaltimeinphase=180,segs={night=6,day=5,dusk=5}},seasons={elapseddaysinseason=5,premode=false,remainingdaysinseason=10,lengths={summer=15,autumn=20,spring=20,winter=15},totaldaysinseason=15,mode="cycle",season="winter",segs={summer={night=4,day=11,dusk=1},autumn={night=2,day=8,dusk=6},spring={night=3,day=5,dusk=8},winter={night=6,day=5,dusk=5}}},worldtemperature={seasontemperature=-20.980748845574,noisetime=12308.2265625,season="winter",phasetemperature=-3.3982149863336},weather={preciptype="none",moistureceil=2618.0778808594,peakprecipitationrate=0.34503310918808,season="winter",moisturerateval=0.35048127886065,snowcovered=true,moistureceilmultiplier=3,moisture=1016.4212646484,stopsnowthreshold=10,snowlevel=1,moisturefloormultiplier=1,moisturerateoffset=0,noisetime=12308.2265625,moisturerate=0.35048127174377,wetness=0,temperature=-25.254878948133,nextlightningtime=10.049287392804,lightnin [**truncated**]
   success = nil
   savedata = [string "return {world_network={persistdata={clock={moonphase="half",cyc..."]:1: '}' expected near '#'
=[C]:-1 in (method) GetPersistentString (C) <-1--1>
scripts/saveindex.lua:263 in (method) GetSaveDataFile (Lua) <262-283>
   self =
      data = table: 1A8BBD48
      current_slot = 2
   file = session/1A770EE382011A8A/0000000029
   cb = function - scripts/gamelogic.lua:784
scripts/saveindex.lua:289 in (method) GetSaveData (Lua) <285-293>
   self =
      data = table: 1A8BBD48
      current_slot = 2
   slot = 2
   cb = function - scripts/gamelogic.lua:784
   file = session/1A770EE382011A8A/0000000029
scripts/gamelogic.lua:791 in (upvalue) DoLoadWorld (Lua) <783-792>
   saveslot = 2
   onload = function - scripts/gamelogic.lua:784
scripts/gamelogic.lua:832 in (upvalue) LoadSlot (Lua) <827-838>
   slot = 2
scripts/gamelogic.lua:887 in (upvalue) DoResetAction (Lua) <842-923>
scripts/gamelogic.lua:933 in (local) complete_callback (Lua) <925-934>
scripts/upsell.lua:27 in (global) UpdateGamePurchasedState (Lua) <11-30>
   complete_callback = function - scripts/gamelogic.lua:925
scripts/gamelogic.lua:957 in (local) callback (Lua) <936-958>
scripts/saveindex.lua:239 in (upvalue) OnLoad (Lua) <192-241>
   self =
      data = table: 1A8BBD48
      current_slot = 2
   filename = saveindex
   callback = function - scripts/gamelogic.lua:936
   load_success = true
   str = return {
  last_used_slot=2,
  slots={
    {
      enabled_mods={
        ["workshop-346968521"]={ configuration_options={  }, enabled=true },
        ["workshop-347079953"]={
          configuration_options={ DFV_Language="EN", DFV_MinimalMode="default" },
          enabled=true 
        },
        ["workshop-360722606"]={
          configuration_options={
            DFV_ClientPrediction="default",
            DFV_FueledSettings="default",
            DFV_PercentReplace="default",
            DFV_ShowACondition="default",
            DFV_ShowADefence="default",
            DFV_ShowAType="default",
            DFV_ShowDamage="default",
            DFV_ShowInsulation="default",
            DFV_ShowTemperature="default",
            DFV_ShowUses="default" 
          },
          enabled=true 
        },
        ["workshop-374550642"]={ configuration_options={ MAXSTACKSIZE=99 }, enabled=true },
        ["workshop-375027081"]={
          configuration_options={
            INCREASEBACKPACKSIZES_BACKPACK=false,
  [**truncated**]
   success = true
   savedata = table: 1A8AE990

[00:01:40]: [string "scripts/saveindex.lua"]:277: Corrupt Save file [session/1A770EE382011A8A/0000000029]
LUA ERROR stack traceback:
    =[C]:-1 in (global) assert (C) <-1--1>
    scripts/saveindex.lua:277 in () ? (Lua) <263-282>
    =[C]:-1 in (method) GetPersistentString (C) <-1--1>
    scripts/saveindex.lua:263 in (method) GetSaveDataFile (Lua) <262-283>
    scripts/saveindex.lua:289 in (method) GetSaveData (Lua) <285-293>
    scripts/gamelogic.lua:791 in (upvalue) DoLoadWorld (Lua) <783-792>
    scripts/gamelogic.lua:832 in (upvalue) LoadSlot (Lua) <827-838>
    scripts/gamelogic.lua:887 in (upvalue) DoResetAction (Lua) <842-923>
    scripts/gamelogic.lua:933 in (local) complete_callback (Lua) <925-934>
    scripts/upsell.lua:27 in (global) UpdateGamePurchasedState (Lua) <11-30>
    scripts/gamelogic.lua:957 in (local) callback (Lua) <936-958>
    scripts/saveindex.lua:239 in (upvalue) OnLoad (Lua) <192-241>
    
[00:01:40]: ModIndex: Load sequence finished successfully.    
[00:01:40]: Reset() returning
[00:03:01]: Force aborting...
[00:03:01]: Could not unload undefined prefab 0xc53063d5 (pine_needles)
[00:03:01]: Could not unload undefined prefab 0xc53063d5 (pine_needles)
[00:03:01]: Could not unload undefined prefab 0xc53063d5 (pine_needles)
[00:03:01]: Could not unload undefined prefab 0xc53063d5 (pine_needles)
[00:03:01]: Could not unload undefined prefab 0xc53063d5 (pine_needles)
[00:03:01]: Could not unload undefined prefab 0xc53063d5 (pine_needles)
[00:03:01]: unloading prefabs for mod MOD_workshop-728459184    
[00:03:01]: unloading prefabs for mod MOD_workshop-646342805    
[00:03:01]: unloading prefabs for mod MOD_workshop-375850593    
[00:03:01]: unloading prefabs for mod MOD_workshop-347079953    
[00:03:01]: unloading prefabs for mod MOD_workshop-360722606    
[00:03:01]: unloading prefabs for mod MOD_workshop-346968521    
[00:03:01]: unloading prefabs for mod MOD_workshop-378962221    
[00:03:01]: unloading prefabs for mod MOD_workshop-375859599    
[00:03:01]: unloading prefabs for mod MOD_workshop-374550642    
[00:03:01]: unloading prefabs for mod MOD_workshop-437832333    
[00:03:01]: unloading prefabs for mod MOD_workshop-463740026    
[00:03:01]: unloading prefabs for mod MOD_workshop-466732225    
[00:03:01]: unloading prefabs for mod MOD_workshop-614871830    
[00:03:01]: unloading prefabs for mod MOD_workshop-563754964    
[00:03:01]: unloading prefabs for mod MOD_workshop-356930882    
[00:03:01]: unloading prefabs for mod MOD_workshop-680670714    
[00:03:01]: unloading prefabs for mod MOD_workshop-503502935    
[00:03:01]: unloading prefabs for mod MOD_workshop-676297854    
[00:03:01]: unloading prefabs for mod MOD_workshop-681762611    
[00:03:01]: unloading prefabs for mod MOD_workshop-444438334    
[00:03:01]: unloading prefabs for mod MOD_workshop-353697884    
[00:03:01]: unloading prefabs for mod MOD_workshop-522117250    
[00:03:01]: unloading prefabs for mod MOD_workshop-361994110    
[00:03:01]: unloading prefabs for mod MOD_workshop-647434691    
[00:03:01]: unloading prefabs for mod MOD_workshop-661253977    
[00:03:01]: unloading prefabs for mod MOD_workshop-378160973    
[00:03:01]: unloading prefabs for mod MOD_workshop-624883463    
[00:03:01]: SteamWorkshop::CancelDownloads clearing all unfinished downloads
[00:03:01]: Collecting garbage...
[00:03:01]: lua_gc took 0.01 seconds
[00:03:01]: ~ShardLuaProxy()
[00:03:01]: ~ItemServerLuaProxy()
[00:03:01]: ~InventoryLuaProxy()
[00:03:01]: ~NetworkLuaProxy()
[00:03:01]: ~SimLuaProxy()
[00:03:01]: SteamWorkshop::CancelDownloads clearing all unfinished downloads
[00:03:01]: lua_close took 0.02 seconds
[00:03:02]: SteamWorkshop::CancelDownloads clearing all unfinished downloads
[00:03:02]: [Steam] Auth ticket cancelled
[00:03:02]:  Manager - ORPHANED UNKNOWN RESOURCES:
[00:03:02]: shaders/ui_yuv.ksh - 1
[00:03:02]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. 
[00:03:02]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. 
[00:03:02]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. 
[00:03:02]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. 


Steps to Reproduce
I turned on the mods, there are no client mods, and then once we were done playing, my friend and I logged out. When I came back into the world, this is the message it gave me. I have no idea what mod is causing the problem, or why the save file keeps getting corrupted.


User Feedback


We're having the exact same problem, except that ours is inconsistent. We'll play for a few days in a row and all will be well, but if we leave it for a few days and try to play again, we get that exact same error message. Has anyone solved this?

Share this comment


Link to comment
Share on other sites


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