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

g Bug?

4 months ago

Error while running event RenaiTransportation::on_object_destroyed (ID 174)
LuaInventory API call when LuaInventory was invalid.
stack traceback:
[C]: in function 'index'
__RenaiTransportation
/script/ThrowItemFunctions.lua:266: in function 'DropOntoGround'
RenaiTransportation/script/ThrowItemFunctions.lua:959: in function 'ResolveThrownItem'
RenaiTransportation/script/event/entity_destroyed.lua:3: in function <RenaiTransportation/script/event/entity_destroyed.lua:1>

None of us know what caused this, we were all in various parts of the base with no view of anything Renai. This is all I can give I'm afraid.

4 months ago

Update on this, we have a save of our factory where this bug will consistently happen exactly 7 seconds after the save is loaded. Upon interrupting a train which is about to hit a Magnet ramp, it will not crash in that time, so we've deduced it has to do with the train in some capacity. If you would like, I can attempt to give you a copy of this save for your investigation? The issue is present on Gleba. This is the first and only time we've had a consistent reproduction of the issue.

4 months ago

The fact that it's consistent is definitely good for figuring out the problem. If you can upload the save to Google drive or something I'll check it out

4 months ago
(updated 4 months ago)

The crash was coming from a Vacuum hatch ejecting to a belt. An item it sucked up was somehow both output to the belt and bounced off at the same time, so when it tried dropping the item off the bounce, it was already output onto the belt and that apparently caused the crash. Very edge case and I don't really understand it tbh but the fix I added for 2.1.8 should prevent it from happening again
Thanks again for the report and save file 😎

New response