Page 1 of 1

[Lou][1.1.43] Crash when power pole is destroyed

Posted: Sun Oct 31, 2021 10:34 pm
by chok
I use the following mods:
  • BeastFinder_1.1.2.zip
  • LogisticTrainNetwork_1.16.3.zip
  • LtnManager_0.3.11.zip
  • aai-industry_0.5.9.zip
  • aai-signal-transmission_0.4.4.zip
  • alien-biomes_0.6.5.zip
  • bullet-trails_0.6.1.zip
  • flib_0.8.4.zip
  • grappling-gun_0.3.1.zip
  • informatron_0.2.2.zip
  • jetpack_0.2.12.zip
  • miniloader_1.14.6.zip
  • mod-list.json
  • mod-settings.dat
  • robot_attrition_0.5.11.zip
  • shield-projector_0.1.2.zip
  • space-exploration-graphics-2_0.1.1.zip
  • space-exploration-graphics-3_0.1.1.zip
  • space-exploration-graphics-4_0.1.1.zip
  • space-exploration-graphics-5_0.1.2.zip
  • space-exploration-graphics_0.5.13.zip
  • space-exploration-postprocess_0.5.24.zip
  • space-exploration_0.5.89.zip

We placed an array of solar panels and Energy Beam Transmitters in the orbit of
Callidus as shown in the picture. I noticed, that one part of the transmitter
shows the "no power" signal, but is clearly within the range of the power
poles. I then tried to fix it by replacing the nearest power pole. This
resulted in a crash.
factorio_bug_1_1_43_small.jpg
factorio_bug_1_1_43_small.jpg (319.93 KiB) Viewed 2781 times
The game should continue running when I destroy the power pole. Furthermore,
the "no power" symbol should not be displayed.

Re: [Lou][1.1.43] Crash when power pole is destroyed

Posted: Wed Nov 03, 2021 11:35 am
by Lou
Hello and thank you for the report.

I loaded the save (both in 1.1.43 and latest dev version) and have not encountered the described issue (no "disconnected from grid" icon, entity functioning normally, upon pole destruction -> no crash) and without reproduction I cannot find source of the problem.

Are you still having the issue after reloading the save and playing again?

Also, next time please specify location of problematic entities with more than a picture in large save like this. (I managed to find setup on the picture on Claudius orbit, but that was mostly luck)

Re: [Lou][1.1.43] Crash when power pole is destroyed

Posted: Wed Nov 03, 2021 12:21 pm
by chok
I updated the game to version 1.1.45 and can still reproduce the bug using the same save.
The "no power" symbol wasn't displayed, but after multiple destroy/replace cycles of the power pole and the Energy beam injectors the game still crashed.
factorio_v1_1_45_bug_repro_small.jpg
factorio_v1_1_45_bug_repro_small.jpg (309.94 KiB) Viewed 2696 times

Re: [Lou][1.1.43] Crash when power pole is destroyed

Posted: Wed Nov 03, 2021 3:13 pm
by Lou
I spent some more time trying to reporudce this (both in singleplayer and as multiplayer client) and still no luck :(. Do you have some more specific reproduction instructions?

Re: [Lou][1.1.43] Crash when power pole is destroyed

Posted: Thu Nov 04, 2021 9:45 am
by chok
I was able to reliably reproduce the bug. One of the Energy Beam Injectors should be outside of the range of the power pole, but it is still highlighted with the blue box. I then place a power pole in range of the injector and destroyed it again. This leads to the crash.

Re: [Lou][1.1.43] Crash when power pole is destroyed

Posted: Thu Nov 04, 2021 10:36 am
by Lou
Thanks! The video really helped, reproduction succesful. Looking into the problem...

Re: [Lou][1.1.43] Crash when power pole is destroyed

Posted: Mon Dec 13, 2021 3:39 pm
by Lou
It evaded me for a long time but it will be fixed as of next version.

The issue was caused by a feature where Reactor (one of the components of the injector was Reactor) would increase its boundingbox when connected to a neighbouring Reactor of the same type. (This feature will be removed in next version)