[boskid][2.0.28] Crash when placing a heat pipe with a heating_radius of 0 connected to a heat source

This subforum contains all the issues which we already resolved.
bunshaman
Burner Inserter
Burner Inserter
Posts: 14
Joined: Fri May 24, 2024 3:14 am
Contact:

[boskid][2.0.28] Crash when placing a heat pipe with a heating_radius of 0 connected to a heat source

Post by bunshaman »

1. What did you do? - Using a mod I am making to tweak heating radii, I set heat pipes to have a heating_radius of 0. Placing these heat pipes unconnected to a heat source works fine. Then, I connected a heat pipe to a heat source (heating interface, heating tower, or nuclear reactor)

2. What happened? - When I connected a heat pipe to a heat source, the game crashed. Interestingly, nuclear reactors with a heating_radius of 0 do not crash when placed next to each other. Instead, they do not exhibit expected behavior.

3. What did you expect to happen instead? It might be obvious to you, but do it anyway! - I expected the heat pipe to be placed without issue. On Aquilo, I expected that the snow tile would not melt. I would expect a nuclear reactor with a heating_radius of 0 to also not melt the snow below it.

4. Does it happen always, once, or sometimes? - It happens every single time.
Attachments
farther-heat_1.0.0.zip
Here is the mod as it was at the moment of the crash.
(1.99 KiB) Downloaded 16 times
factorio-current.log
This is the log file.
(8.71 KiB) Downloaded 20 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3762
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.28] Crash when placing a heat pipe with a heating_radius of 0 connected to a heat source

Post by boskid »

As for the crash i know what it is because i already fixed it for 2.0.29 due to automatic crash log uploads as it crashed 29 times for players using Quezler's underground heat pipes mod before heating radius was restored up to 1 as a workaround. It crashes on heating tiles when area to heat is smaller than 4 tiles due to a micro optimization that i did not notice earlier.

As for the behavior under the entity, 0 will keep heating entities and tiles under the entity. Changing this part of behavior is a feature request.
Post Reply

Return to “Resolved Problems and Bugs”