raiguard / EditorExtensions

Extends the Factorio map editor with new features, testing tools, and other utilities to aid with sandbox play and scenario creation.
https://mods.factorio.com/mod/EditorExtensions
Other
26 stars 6 forks source link

Error/crash when removing an infinity pipe with right click. #134

Closed MoneyAllDay closed 1 year ago

MoneyAllDay commented 1 year ago

Description

The mod Editor Extensions (2.1.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event EditorExtensions::on_nth_tick(1)
LuaEntity API call when LuaEntity was invalid.
stack traceback:

    [C]: in function '__index'
    __EditorExtensions__/scripts/infinity-pipe.lua:152: in function 'update_fluid_content_bar'
    __EditorExtensions__/scripts/infinity-pipe.lua:763: in function 'handler'
    __core__/lualib/event_handler.lua:56: in function <__core__/lualib/event_handler.lua:54>

I'm just not sure when the crash occurred if it was an infinity pipe provided by EditorExtensions or the mod Blueprint Designer Lab.

factorio-current.log

Reproduction

  1. Was inside the Blueprint Designer Lab.
  2. Went to remove an infinity pipe with the right click.
  3. Crashed.