[2.0.10] Savefile that was originally a converted scenario fails to load

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
kerdeyosto
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri Oct 25, 2024 6:29 pm
Contact:

[2.0.10] Savefile that was originally a converted scenario fails to load

Post by kerdeyosto »

Prior to the 2.0 release, I would periodically convert my main save to a scenario and start a "new" game from that scenario, as a method of keeping replay recording going after changing mods. Trying to load that save in 2.0 gives the error

Code: Select all

Error while running event level::on_configuration_changed
__level__/freeplay.lua:220: attempt to index global 'global' (a nil value)
stack traceback:
	__level__/freeplay.lua:220: in function 'on_configuration_changed'
	__core__/lualib/event_handler.lua:87: in function <__core__/lualib/event_handler.lua:84>
I was able to fix it and get the file to load by replacing the freeplay.lua file mentioned in the error message with one from a scenario created in 2.0 (create a new game in 2.0, convert that game to a scenario, and copy the freeplay.lua from that scenario to replace the erroring one in the real save.)
Attachments
test 02 - fixed.zip
(1.13 MiB) Downloaded 12 times
test 02 - broken.zip
(1.12 MiB) Downloaded 9 times
freeplay (fixed).lua
(7.83 KiB) Downloaded 13 times
factorio-current.log
(7.72 KiB) Downloaded 12 times
Post Reply

Return to “Technical Help”