GaloreLib


The core library of all my mods! Will get proper documentation someday.

Internal
2 months ago
2.0
5.67K

g CTD when creating blueprints

13 days ago

Crash when creating blueprint with specific entities (Error: nan in FixedPointNumber)

Hi,

Thank you for creating Galore Library. I believe I have isolated a bug that causes a consistent game crash when creating blueprints.

  1. The Crash Trigger:
    The game crashes reliably when attempting to create a new blueprint that includes either of the following standard entities:
    Big Electric Pole (vanilla)
    Fast Inserter (vanilla)

If I create a blueprint containing e.g. only RoboPort, the crash does not occur.

Copying with Ctrl+C does not cause the crash.

  1. Crash Details:
    The error occurs specifically in a numerical calculation within the Factorio engine's core code. The relevant error message from the log is:
    Error FixedPointNumber.hpp:31: double value not in range for fixed point number: nan

This suggests that galore_lib is setting a prototype value (e.g., speed, range, or a quality multiplier) to an undefined numerical value (nan) during data loading, and the engine crashes when the blueprint GUI attempts to read and display this corrupted value.

  1. Troubleshooting Context:
    Factorio Version: 2.0.72 (Space Age)
    Mod Version: galore_lib 1.6.2
    Mod Conflict: I have systematically disabled my large mod list and confirmed that galore_lib is the root cause. When this mod is disabled, the blueprinting function works correctly.

Let me know if you want the log file or a savegame.

13 days ago

Sorry. My bad. This mod did not cause the bug. I have narrowed it down to Defender untits from Combat Robot Overhaul causing the crash if the blueprint overlaps with their positions.

New response