Renai Transportation


The most unhinged ways to transport items and yourself around your factory. Fling items around with Thrower Inserters, launch your trains off ramps, and soar through your base on electric ziplines!

Content
a day ago
0.18 - 2.0
43.3K
Transportation Logistics Trains

b Vacuum Hatch update crashes when attempting to set particle visibility on an invalid LuaRendering particle effect

3 months ago

Vacuum Hatch update crashes when attempting to set particle visibility on an invalid LuaRendering particle effect

Reproduction:
- place a Vacuum Hatch, in /editor
- deconstruct the vacuum hatch (is inconsistent, I think it happens when you deconstruct a hatch on the same tick as or the tick before the update script runs)

Stacktrace:
Error while running event RenaiTransportation::on_nth_tick(1)
LuaRenderObject API call when LuaRenderObject was invalid.
stack traceback:
[C]: in function 'newindex'
...iTransportation
/script/event/on_tick_VacuumHatches.lua:51: in function 'handle_vacuum_hatches'
RenaiTransportation/script/event/on_tick.lua:15: in function <RenaiTransportation/script/event/on_tick.lua:9>

3 months ago

That's a pretty specific crash lol, in theory the render particle is created the same instant that the Vacuum hatch is placed so idk how you're destroying it before it fully registers the build. Regardless it's a pretty easy check to add to at least prevent the crash

New response