[Genhis][2.0.10] Crash removing planets (GameViewWidgetLogic::renderGameView)

This subforum contains all the issues which we already resolved.
ArchEzekiel
Burner Inserter
Burner Inserter
Posts: 10
Joined: Mon Jul 15, 2024 9:49 pm
Contact:

[Genhis][2.0.10] Crash removing planets (GameViewWidgetLogic::renderGameView)

Post by ArchEzekiel »

Code: Select all

--Remove Planets, retain atmosphere
local function remove_planet(name)
    local temp = table.deepcopy(data.raw["planet"][name])
    temp.type = "space-location"
    data:extend{temp}
    data.raw["planet"][name] = nil
end
remove_planet("fulgora")
remove_planet("gleba")
remove_planet("aquilo")
remove_planet("vulcanus")
I am getting the attached crash-log when using this code to remove these planets from the game and use them as space-locations instead.This crash will trigger on leaving a game, and also crashes during menu simulation transitions. I'm having trouble understanding the crash log though, so I would appreciate some light on this matter
Attachments
factorio-current.log
(12.38 KiB) Downloaded 19 times
Genhis
Factorio Staff
Factorio Staff
Posts: 673
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: [Genhis][2.0.10] Crash to Desktop via Removing planets

Post by Genhis »

Thanks for the report, the crash is fixed for the next release.
Post Reply

Return to “Resolved Problems and Bugs”