[2.0.34] LuaEntity (pipe-to-ground) has invalid properties after being marked for deconstruction

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
protocol_1903
Filter Inserter
Filter Inserter
Posts: 278
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

[2.0.34] LuaEntity (pipe-to-ground) has invalid properties after being marked for deconstruction

Post by protocol_1903 »

When accessing the on_marked_for_deconstruction event, any LuaEntity of type `pipe-to-ground` cannot have it's `direction` property queried. If attempted, it crashes the game. This is likely due to it being in a deconstructed state. I attempted to get around this by temporarily reconstructing it, accessing the property, then deconstructing it again, but this doesn't work because the entity becomes invalid after being reconstructed.

I'm not at my computer at the minute, will post relevant screenshots when I get the chance.
If you need to reach me, message me on discord.

I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4044
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.34] LuaEntity (pipe-to-ground) has invalid properties after being marked for deconstruction

Post by boskid »

Cannot reproduce.
02-19-2025, 18-27-14.png
02-19-2025, 18-27-14.png (367.32 KiB) Viewed 192 times
Post Reply

Return to “Pending”