Page 1 of 1

[2.1.12] Crash "RailConnectionDirection::None was not true"

Posted: Sun Jul 26, 2026 3:57 pm
by gaming.s1248.com
The error occurs in both Factorio versions 2.0.77 and 2.1.12. I have attached the save file in the attachment. The crash occurs after loading the save file and running for a few minutes.

Code: Select all

   0.002 2026-07-26 22:43:06; Factorio 2.1.12 (build 87038, win64, steam)
   0.003 Operating system: Windows 10 (build 19044) 
   0.000 Initializing Steam API.
   0.004 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.004 Config path: C:/Users/gaming/AppData/Roaming/Factorio/config/config.ini
   0.004 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.004 Write data path: C:/Users/gaming/AppData/Roaming/Factorio [162869/511988MB]
   0.004 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.022 System info: [CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz, 8 cores, RAM: 10263/16301 MB, page: 22145/48045 MB, virtual: 4347/134217727 MB, extended virtual: 0 MB]
   0.088 Memory info:
   0.088  [0]: Samsung M471A1K43CB1-CRC 8192 MB 2400 MHz 1.2 v 64|64
   0.088  [1]: 8325 GSLG42F-18---------- 8192 MB 2400 MHz 1.2 v 64|64
   0.247 Display options: [FullScreen: true] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 4294967295] [Special: lmw] [Lang: en]
   0.414 Video driver: windows
   0.414 Available displays: 1
   0.414  [0]: \\.\DISPLAY1 - Intel(R) HD Graphics 630 {0x05, [0,0], 1920x1080, 32bit, 59Hz}
   0.493 [Direct3D11] Display: 4294967295, Output: 0, DisplayAdapter: 0, RenderingAdapter: -1; d3dcompiler_47.dll
   2.328 Initialised Direct3D[0]: NVIDIA GeForce GTX 1050; id: 10de-1c8d; driver: nvldumdx.dll 32.0.15.8180
   2.328   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   2.328   [Local Video Memory] Budget: 3405MB, CurrentUsage: 6MB, Reservation: 0/1803MB
   2.328   [Non-Local Vid.Mem.] Budget: 7487MB, CurrentUsage: 0MB, Reservation: 0/3871MB
   2.328   Tiled resources: Tier 2
   2.328   Unified Memory Architecture: No
   2.328   BGR 565 Supported: Yes
   2.328   MaximumFrameLatency: 3, GPUThreadPriority: 0
   2.328 Graphics settings preset: very-high
   2.328   Dedicated video memory size 4007 MB
   2.421 Desktop composition is active.
   2.421 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   2.421                   [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWTl] [B:0,C:0,S:100]
   2.634 [Audio] Driver:wasapi, Device:Default device, Depth:32, Channels:2, Frequency:44100
   2.941 Info ModManager.cpp:450: FeatureFlag expansion = false
   2.941 Info ModManager.cpp:450: FeatureFlag expansion-shaders = false
   2.941 Info ModManager.cpp:450: FeatureFlag freezing = false
   2.941 Info ModManager.cpp:450: FeatureFlag quality = false
   2.941 Info ModManager.cpp:450: FeatureFlag rail-bridges = false
   2.941 Info ModManager.cpp:450: FeatureFlag segmented-units = false
   2.941 Info ModManager.cpp:450: FeatureFlag space-travel = false
   2.941 Info ModManager.cpp:450: FeatureFlag spoiling = false
   2.948 Loading mod settings aai-containers 0.4.0 (settings.lua)
   2.948 Loading mod settings aai-loaders 0.3.0 (settings.lua)
   2.949 Loading mod settings AutoDeconstruct 1.1.1 (settings.lua)
   2.949 Loading mod settings informatron 0.5.0 (settings.lua)
   2.949 Loading mod settings jetpack 0.5.1 (settings.lua)
   2.950 Loading mod settings pump 2.2.2 (settings.lua)
   2.950 Loading mod settings robot_attrition 0.7.0 (settings.lua)
   2.951 Loading mod settings space-exploration-menu-simulations 0.7.5 (settings.lua)
   2.951 Loading mod settings aai-industry 0.7.3 (settings.lua)
   2.952 Loading mod settings alien-biomes 0.8.0 (settings.lua)
   2.953 Loading mod settings space-exploration 0.7.60 (settings.lua)
   2.954 Loading mod settings EditorExtensions 2.6.1 (settings.lua)
   2.955 Loading mod settings space-exploration-postprocess 0.7.6 (settings.lua)
   2.956 Loading mod settings AutoDeconstruct 1.1.1 (settings-final-fixes.lua)
   2.962 Loading mod core 0.0.0 (data.lua)
   3.009 Loading mod base 2.1.12 (data.lua)
   3.605 Loading mod aai-containers 0.4.0 (data.lua)
   3.629 Loading mod aai-loaders 0.3.0 (data.lua)
   3.630 Script @__aai-loaders__/data.lua:5: Log mods once: {
  AutoDeconstruct = "1.1.1",
  EditorExtensions = "2.6.1",
  HelfimaLib = "2.1.0",
  ["aai-containers"] = "0.4.0",
  ["aai-industry"] = "0.7.3",
  ["aai-loaders"] = "0.3.0",
  ["aai-signal-transmission"] = "0.6.0",
  ["alien-biomes"] = "0.8.0",
  ["alien-biomes-graphics"] = "0.8.0",
  base = "2.1.12",
  flib = "0.17.2",
  informatron = "0.5.0",
  jetpack = "0.5.1",
  pump = "2.2.2",
  robot_attrition = "0.7.0",
  ["shield-projector"] = "0.3.0",
  ["space-exploration"] = "0.7.60",
  ["space-exploration-graphics"] = "0.7.6",
  ["space-exploration-graphics-2"] = "0.7.3",
  ["space-exploration-graphics-3"] = "0.7.3",
  ["space-exploration-graphics-4"] = "0.7.3",
  ["space-exploration-graphics-5"] = "0.7.5",
  ["space-exploration-menu-simulations"] = "0.7.5",
  ["space-exploration-postprocess"] = "0.7.6"
}
   3.649 Loading mod aai-signal-transmission 0.6.0 (data.lua)
   3.665 Loading mod flib 0.17.2 (data.lua)
   3.680 Loading mod HelfimaLib 2.1.0 (data.lua)
   3.701 Loading mod informatron 0.5.0 (data.lua)
   3.714 Loading mod jetpack 0.5.1 (data.lua)
   3.729 Loading mod pump 2.2.2 (data.lua)
   3.743 Loading mod robot_attrition 0.7.0 (data.lua)
   3.759 Loading mod shield-projector 0.3.0 (data.lua)
   3.777 Loading mod space-exploration-menu-simulations 0.7.5 (data.lua)
   3.792 Loading mod aai-industry 0.7.3 (data.lua)
   3.822 Loading mod alien-biomes 0.8.0 (data.lua)
   4.000 Script @__alien-biomes__/prototypes/entity/trees.lua:47: Disabling tree tree-01
   4.000 Script @__alien-biomes__/prototypes/entity/trees.lua:47: Disabling tree tree-02
   4.000 Script @__alien-biomes__/prototypes/entity/trees.lua:47: Disabling tree tree-02-red
   4.000 Script @__alien-biomes__/prototypes/entity/trees.lua:47: Disabling tree tree-03
   4.000 Script @__alien-biomes__/prototypes/entity/trees.lua:47: Disabling tree tree-04
   4.000 Script @__alien-biomes__/prototypes/entity/trees.lua:47: Disabling tree tree-05
   4.000 Script @__alien-biomes__/prototypes/entity/trees.lua:47: Disabling tree tree-06
   4.000 Script @__alien-biomes__/prototypes/entity/trees.lua:47: Disabling tree tree-06-brown
   4.000 Script @__alien-biomes__/prototypes/entity/trees.lua:47: Disabling tree tree-07
   4.000 Script @__alien-biomes__/prototypes/entity/trees.lua:47: Disabling tree tree-08
   4.000 Script @__alien-biomes__/prototypes/entity/trees.lua:47: Disabling tree tree-08-brown
   4.000 Script @__alien-biomes__/prototypes/entity/trees.lua:47: Disabling tree tree-08-red
   4.000 Script @__alien-biomes__/prototypes/entity/trees.lua:47: Disabling tree tree-09
   4.000 Script @__alien-biomes__/prototypes/entity/trees.lua:47: Disabling tree tree-09-brown
   4.000 Script @__alien-biomes__/prototypes/entity/trees.lua:47: Disabling tree tree-09-red
   4.000 Script @__alien-biomes__/prototypes/entity/trees.lua:47: Disabling tree dry-tree
   4.000 Script @__alien-biomes__/prototypes/entity/trees.lua:47: Disabling tree dead-tree-desert
   4.000 Script @__alien-biomes__/prototypes/entity/trees.lua:47: Disabling tree dead-grey-trunk
   4.000 Script @__alien-biomes__/prototypes/entity/trees.lua:47: Disabling tree dead-dry-hairy-tree
   4.000 Script @__alien-biomes__/prototypes/entity/trees.lua:47: Disabling tree dry-hairy-tree
   4.085 Loading mod space-exploration 0.7.60 (data.lua)
   4.282 Loading mod EditorExtensions 2.6.1 (data.lua)
   4.326 Loading mod base 2.1.12 (data-updates.lua)
   4.354 Loading mod aai-loaders 0.3.0 (data-updates.lua)
   4.380 Loading mod aai-industry 0.7.3 (data-updates.lua)
   4.414 Loading mod alien-biomes 0.8.0 (data-updates.lua)
   4.437 Loading mod space-exploration 0.7.60 (data-updates.lua)
   4.476 Loading mod aai-containers 0.4.0 (data-final-fixes.lua)
   4.502 Loading mod aai-loaders 0.3.0 (data-final-fixes.lua)
   4.525 Loading mod jetpack 0.5.1 (data-final-fixes.lua)
   4.554 Loading mod pump 2.2.2 (data-final-fixes.lua)
   4.558 Script @__pump__/data-final-fixes.lua:4: Map of which extractors are usable for each fluid type:
   4.558 Script @__pump__/data-final-fixes.lua:5: {
  ["basic-fluid"] = {
    extractors = {
      "pumpjack"
    },
    fluids = {
      "crude-oil"
    }
  }
}
   4.580 Loading mod robot_attrition 0.7.0 (data-final-fixes.lua)
   4.607 Loading mod aai-industry 0.7.3 (data-final-fixes.lua)
   4.634 Loading mod alien-biomes 0.8.0 (data-final-fixes.lua)
   4.668 Script @__alien-biomes__/data-final-fixes.lua:204: Setting decals to layer 246
   4.695 Loading mod space-exploration 0.7.60 (data-final-fixes.lua)
   4.920 Script @__space-exploration__/prototypes/phase-3/resources.lua:43: Resource can place: iron-ore
   4.920 Script @__space-exploration__/prototypes/phase-3/resources.lua:43: Resource can place: copper-ore
   4.920 Script @__space-exploration__/prototypes/phase-3/resources.lua:43: Resource can place: coal
   4.920 Script @__space-exploration__/prototypes/phase-3/resources.lua:43: Resource can place: stone
   4.920 Script @__space-exploration__/prototypes/phase-3/resources.lua:43: Resource can place: uranium-ore
   4.920 Script @__space-exploration__/prototypes/phase-3/resources.lua:43: Resource can place: crude-oil
   4.920 Script @__space-exploration__/prototypes/phase-3/resources.lua:43: Resource can place: se-water-ice
   4.920 Script @__space-exploration__/prototypes/phase-3/resources.lua:43: Resource can place: se-methane-ice
   4.920 Script @__space-exploration__/prototypes/phase-3/resources.lua:43: Resource can place: se-beryllium-ore
   4.920 Script @__space-exploration__/prototypes/phase-3/resources.lua:43: Resource can place: se-cryonite
   4.920 Script @__space-exploration__/prototypes/phase-3/resources.lua:43: Resource can place: se-holmium-ore
   4.920 Script @__space-exploration__/prototypes/phase-3/resources.lua:43: Resource can place: se-iridium-ore
   4.920 Script @__space-exploration__/prototypes/phase-3/resources.lua:43: Resource can place: se-naquium-ore
   4.920 Script @__space-exploration__/prototypes/phase-3/resources.lua:43: Resource can place: se-vulcanite
   4.921 Script @__space-exploration__/prototypes/phase-3/resources.lua:43: Resource can place: se-vitamelange
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: pistol
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: loader
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: fast-loader
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: express-loader
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: se-rocket-launch-pad-silo-dummy-recipe
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: se-iridium-piledriver
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: se-space-probe-rocket-deploy
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-infinity-accumulator
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-infinity-cargo-wagon
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-infinity-fluid-wagon
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-infinity-fission-reactor-equipment
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-infinity-heat-pipe
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-infinity-loader
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-infinity-pipe
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-linked-belt
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-linked-chest
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-battery-equipment
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-beacon
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-construction-robot
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-electric-pole
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-energy-shield-equipment
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-exoskeleton-equipment
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-fuel
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-inserter
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-lab
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-locomotive
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-logistic-robot
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-night-vision-equipment
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-personal-roboport-equipment
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-pump
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-radar
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-roboport
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-substation
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-infinity-chest
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-infinity-chest-active-provider
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-infinity-chest-passive-provider
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-infinity-chest-storage
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-infinity-chest-buffer
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-infinity-chest-requester
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-aggregate-chest
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-aggregate-chest-passive-provider
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-speed-module
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-efficiency-module
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-productivity-module
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-clean-module
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-slow-module
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-inefficiency-module
   4.935 Script @__space-exploration__/data-final-fixes.lua:91: Orphaned recipe: ee-super-dirty-module
   4.964 Loading mod EditorExtensions 2.6.1 (data-final-fixes.lua)
   4.997 Loading mod space-exploration-postprocess 0.7.6 (data-final-fixes.lua)
   5.491 Checksum for core: 2818056893
   5.492 Checksum of base: 1811927614
   5.492 Checksum of aai-containers: 862162341
   5.492 Checksum of aai-loaders: 2394863108
   5.492 Checksum of aai-signal-transmission: 1896625553
   5.492 Checksum of alien-biomes-graphics: 0
   5.492 Checksum of AutoDeconstruct: 1781807764
   5.492 Checksum of flib: 3410458141
   5.492 Checksum of HelfimaLib: 2155226138
   5.492 Checksum of informatron: 1824090339
   5.492 Checksum of jetpack: 122244844
   5.492 Checksum of pump: 1690905700
   5.492 Checksum of robot_attrition: 500346190
   5.492 Checksum of shield-projector: 3557347344
   5.492 Checksum of space-exploration-graphics: 0
   5.492 Checksum of space-exploration-graphics-2: 0
   5.492 Checksum of space-exploration-graphics-3: 0
   5.492 Checksum of space-exploration-graphics-4: 0
   5.492 Checksum of space-exploration-graphics-5: 0
   5.492 Checksum of space-exploration-menu-simulations: 3292327866
   5.492 Checksum of aai-industry: 3309568114
   5.492 Checksum of alien-biomes: 4047674419
   5.492 Checksum of space-exploration: 2820641382
   5.492 Checksum of EditorExtensions: 1857069708
   5.492 Checksum of space-exploration-postprocess: 3170096619
   6.309 Prototype list checksum: 625518193
   6.403 Loading sounds...
   8.161 Info PlayerData.cpp:564: Cloud player-data.json available
   8.170 Post-data load graphics options: [Light occlusion: no]
   8.628 Initial atlas bitmap size is 16384
   8.641 Created an atlas bitmap (size 16384x16344) [none]
   8.649 Created an atlas bitmap (size 16384x16376) [none]
   8.660 Created an atlas bitmap (size 16384x16380) [none]
   8.692 Created an atlas bitmap (size 16384x16380) [none]
   8.694 Created an atlas bitmap (size 16384x3936) [none]
   8.696 Created an atlas bitmap (size 16384x16320) [low-object]
   8.697 Created an atlas bitmap (size 16384x12092) [corpse-decay]
   8.698 Created an atlas bitmap (size 16384x5340) [decal]
   8.700 Created an atlas bitmap (size 4096x1324) [none]
   8.701 Created an atlas bitmap (size 16384x5136) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   8.702 Created an atlas bitmap (size 4096x1632) [smoke, mipmap, linear-minification, linear-magnification]
   8.707 Created an atlas bitmap (size 16384x16352) [terrain, mipmap, linear-minification, linear-mip-level]
   8.708 Created an atlas bitmap (size 16384x8848) [terrain, mipmap, linear-minification, linear-mip-level]
   8.709 Created an atlas bitmap (size 4096x3248) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   8.710 Created an atlas bitmap (size 8192x3024) [mipmap]
   8.711 Created an atlas bitmap (size 8192x4400) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   8.713 Created an atlas bitmap (size 16384x5032) [alpha-mask]
   8.726 Created an atlas bitmap (size 16384x16372) [shadow, linear-magnification, alpha-mask]
   8.728 Created an atlas bitmap (size 16384x11148) [shadow, linear-magnification, alpha-mask]
   8.729 Created an atlas bitmap (size 16384x3712) [shadow, mipmap, linear-magnification, alpha-mask]
   8.729 Created an atlas bitmap (size 4096x392) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   8.729 Loading 3D bitmaps: 6
   8.745 Texture processor created (4096). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   8.797 Parallel sprite loader initialized (threads: 7, bitmaps: 8565)
  30.745 Sprites loaded
  30.822 Generated mipmaps (4) for atlas [5] of size 16384x16320   
  30.845 Generated mipmaps (3) for atlas [9] of size 16384x5136   
  30.856 Generated mipmaps (3) for atlas [10] of size 4096x1632   
  30.901 Generated mipmaps (3) for atlas [11] of size 16384x16352   
  30.934 Generated mipmaps (3) for atlas [12] of size 16384x8848   
  30.945 Generated mipmaps (3) for atlas [13] of size 4096x3248   
  31.016 Generated mipmaps (3) for atlas [14] of size 8192x3024   
  31.027 Generated mipmaps (5) for atlas [15] of size 8192x4400   
  31.040 Generated mipmaps (3) for atlas [19] of size 16384x3712   
  31.060 Custom mipmaps uploaded (3252)
  31.092 Estimated VRAM usage for textures: 3362.98 MB (Atlases: 3356.23 MB, Textures: 6.75 MB)
  31.092 Real VRAM usage for the whole program: 1400.14 MB
  31.098 Custom inputs active: 42
  31.732 Factorio initialised
  31.767 Steam Storage Quota: 17954/23841
  40.815 Loading map C:\Users\gaming\AppData\Roaming\Factorio\saves\Space Exploration\SpaceExplorationMEGA.zip: 264931462 bytes.
  40.985 Loading level.dat: 850978541 bytes.
  40.985 Info Scenario.cpp:152: Map version 2.1.12-2
  91.524 Loading blueprint storage: Local timestamp 1785012233, Cloud timestamp 1785012233
  99.290 Loading script.dat: 8088608 bytes.
  99.478 Checksum for script __level__/control.lua: 3613714447
  99.509 Checksum for script __aai-loaders__/control.lua: 1131519574
  99.532 Checksum for script __aai-signal-transmission__/control.lua: 452882495
  99.552 Checksum for script __AutoDeconstruct__/control.lua: 1320983357
  99.558 Checksum for script __HelfimaLib__/control.lua: 0
  99.567 Checksum for script __informatron__/control.lua: 2950852081
  99.616 Checksum for script __jetpack__/control.lua: 3161203025
  99.643 Checksum for script __pump__/control.lua: 670454811
  99.650 Checksum for script __robot_attrition__/control.lua: 3091296681
  99.667 Checksum for script __shield-projector__/control.lua: 621414694
  99.675 Checksum for script __aai-industry__/control.lua: 3314693179
  99.677 Checksum for script __alien-biomes__/control.lua: 3316854230
 100.080 Checksum for script __space-exploration__/control.lua: 2293106208
 100.109 Checksum for script __EditorExtensions__/control.lua: 2030745720
Factorio crashed. Generating symbolized stacktrace, please wait ...
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\src\Util\ReleaseAssert.cpp(7): ReleaseAssertFailed
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\src\Entity\RollingStock.cpp(1117): RollingStock::Carriage::setRailState
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\src\Entity\RollingStock.cpp(754): RollingStock::tryToConnect
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\src\Entity\RollingStock.cpp(546): RollingStock::tryToConnect
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\src\Entity\RollingStock.cpp(107): RollingStock::postSetup
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\src\Entity\Locomotive.cpp(438): Locomotive::postSetup
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\src\Entity\Entity.cpp(3325): Entity::clone
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\src\Entity\Entity.cpp(3265): Entity::cloneSingleEntity
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\src\Script\LuaEntity.cpp(6825): LuaEntity::luaClone
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\src\Script\LuaBinder.hpp(423): LuaBinder<LuaFluidBoxPrototype>::callWrapperOnObject
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\libraries\Lua\ldo.c(359): luaD_precall
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\libraries\Lua\lvm.c(717): luaV_execute
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\libraries\Lua\ldo.c(433): luaD_call
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\libraries\Lua\ldo.c(136): luaD_rawrunprotected
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\libraries\Lua\ldo.c(632): luaD_pcall
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\libraries\Lua\lapi.c(1094): lua_pcallk
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\src\Util\LuaHelper.cpp(7699): LuaHelper::pCallWithStackTrace
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\src\Script\LuaGameScript.cpp(629): LuaGameScript::runEventHandler
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\src\GameEvents.cpp(250): GameEvents::run<LuaEventFilters,`GameEvents::sendOnTick'::`2'::<lambda_1>,GameEvents::NoFilters>
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\src\Scenario\Scenario.cpp(1213): Scenario::update
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\src\Scenario\Scenario.cpp(1130): Scenario::updateStep
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\src\MainLoop.cpp(1471): MainLoop::gameUpdateStep
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\src\MainLoop.cpp(1265): MainLoop::gameUpdateLoop
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.44.35207\include\functional(884): std::_Func_impl_no_alloc<`MainLoop::mainLoopStep'::`2'::<lambda_1>,void>::_Do_call
C:\Users\build\AppData\Local\Temp\factorio-build-5Nades\src\Util\WorkerThread.cpp(71): WorkerThread::loop
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.44.35207\include\thread(61): std::thread::_Invoke<std::tuple<void (__cdecl*)(ParallelScenarioSaver *),ParallelScenarioSaver *>,0,1>
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp(97): thread_start<unsigned int (__cdecl*)(void *),1>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC5E1D7374)
00007FFC5E1D7374 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC5F23CC91)
00007FFC5F23CC91 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
 226.943 Error Rail.cpp:182: this->state == RailConnectionDirection::None was not true
 226.943 Error CrashHandler.cpp:616: Received 22
Logger::writeStacktrace skipped.
 226.944 Info GameEvents.cpp:185: dispatching event on_tick (ID 0), script mod-space-exploration
 226.944 Error CrashHandler.cpp:163: Map tick at moment of crash: 311152916
 227.089 Info CrashHandler.cpp:291: Executable CRC: 3386692010
 227.089 Error Util.cpp:95: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
 231.674 Uploading log file
 231.735 Error CrashHandler.cpp:243: Heap validation: success.
 231.742 Creating crash dump.
 232.472 CrashDump success



Re: [2.1.12] Crash "RailConnectionDirection::None was not true"

Posted: Mon Jul 27, 2026 5:17 pm
by Rseding91
I figured out why this happens but we don't currently have a fix for it. Space Exploration is spawning tiny "tug" locomotives to pull trains while they're teleporting between surfaces. This is fine on its own.

Space Exploration also sets up the train teleporters with a single piece of straight rail at the entrance and exit of the teleporter. It overlaps with the curved rail at the exit. This is also fine on its own.

When combining the two the tug locomotive gets placed right at the overlap of the curved rail and straight rail. It just happens that the tug locomotive ends up on the straight rail section. This is 'fine' as is but runs into issues when the actual rolling stock is cloned onto the curved rail and wants to connect to existing rolling stocks already driven out of the teleporter. The engine logic fails to handle the tug locomotive existing between the cloning-in and existing rolling stock where it tries to connect across those rails - but the tug locomotive is already on those rails and it is invalid for the connection to be made. It is also invalid for the cloning-in rolling stock to connect to the tug locomotive since the tug is on a different 'bend' of rail.

All of this would be solved if the extra straight rail at the exit was removed from the teleporters. However that doesn't fix the engine issue.

Re: [2.1.12] Crash "RailConnectionDirection::None was not true"

Posted: Mon Jul 27, 2026 5:58 pm
by boskid
Thanks for the report. I made the rolling stocks to reject connection if it happens over an occupied rail connection, which could happen if there were rolling stocks with tiny bounding box involved. Fix will be released with 2.1.13.