ReikaKalseki / Reika_FactorioMods_Issues

The issue tracker for all of my Factorio mods - EndgameCombat, NauvisDay, Geothermal, Oreverhaul, and the rest.
5 stars 1 forks source link

Factor-I/O error #297

Open MoneyAllDay opened 3 years ago

MoneyAllDay commented 3 years ago

I got this error while working on some blueprints in BlueprintLab_design mod. When i got the error i was using the deconstruct planner to remove a power pole and a 'Nearby Enemy Count Detector', but i think the error was not at that exact moment it was like 1 second later or something.

The second time it happened i was holding something i copied including 1 'Nearby Enemy Count Detector' and was just moving around.

The mod Factor-I/O (1.18.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event FactorIO::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
    __FactorIO__/calls.lua:149: in function <__FactorIO__/calls.lua:139>
    (...tail calls...)
    __FactorIO__/functions.lua:159: in function 'tickCombinator'
    __FactorIO__/control.lua:39: in function <__FactorIO__/control.lua:34>
stack traceback:
    [C]: in function '__index'
    __FactorIO__/calls.lua:149: in function <__FactorIO__/calls.lua:139>
    (...tail calls...)
    __FactorIO__/functions.lua:159: in function 'tickCombinator'
    __FactorIO__/control.lua:39: in function <__FactorIO__/control.lua:34>

Factor-I/O version: 1.18.1 Factorio version: 1.0.0

ReikaKalseki commented 3 years ago

I suspect the detector was removed without firing the control.lua hooks, thus not removing them from my caches.