deserialization error -> wrong menu -> crash

Things that has been reported already before.
Post Reply
User avatar
StanFear
Fast Inserter
Fast Inserter
Posts: 236
Joined: Sun Dec 15, 2013 2:49 pm
Contact:

deserialization error -> wrong menu -> crash

Post by StanFear »

a bit of context :
I'm currently trying to find a way to work with objects and manage events for my mod,
when playing it works nicely, but when I load a game where my 'mod' is in used I get the folowing error:

Code: Select all

Error while running deserialisation: [string "do local _={data={},events_manager={names={[1..."]:1: attempt to index global 'table1' (a nil value)
(I don't understand why by the way ...)

anyways, the problem apears when I am in game and try to load the save, I get the error.
then I select OK, back (in the loading menu) and arrive to the ingame menu but with the main screen background
selecting Resume returns me to the main menu, restart and quit gamecrash the game (but not with the exact same log)


To reproduce:
  1. use my mod (linked)
  2. start a game
  3. save it
  4. load it -> [error]
  5. select OK
  6. select Back
  7. select quit game or Restart
  8. see the crash happen
my guess is that the game doesn't correctly reenter the In Game state leading to the bug

anyways, here are the crash logs:
factorio-previous.log
crash log of selecting 'exit'
(4.22 KiB) Downloaded 48 times
factorio-current.log
crash log of selecting 'restart'
(4.77 KiB) Downloaded 38 times
the mod I'm working on that leads to the crash:
test_0.0.0.zip
the mod I'm working on
(1.59 KiB) Downloaded 38 times
the checksum from the mod has changed because I removed unnecessary code (one require to a file that I removed since it wasn't used), but the bug still happens on my PC

User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: deserialization error -> wrong menu -> crash

Post by prg »

Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!

User avatar
StanFear
Fast Inserter
Fast Inserter
Posts: 236
Joined: Sun Dec 15, 2013 2:49 pm
Contact:

Re: deserialization error -> wrong menu -> crash

Post by StanFear »

woups, yes sorry !

Post Reply

Return to “Duplicates”