Game crashes to desktop when drawing train track pieces

Crash Trains
萌新 和稀泥入迷 萌新 和稀泥入迷 · 5 hours ago

Issue description

When doing large-scale railway planning, the game crashes to desktop

I've already run into this 4-5 times

Reproduction steps

Do large-scale railway drawing (planning mode), copying and pasting large railway pieces

Situations where the game may crash:

  1. Holding copied large railway pieces in place for a long time

  2. Copying and pasting railway pieces on a large scale

  3. Drawing complex railway pieces

Game version and build number

0.8.8d

Which branch of the game are you on?

Stable

Operating system

Windows

Originally posted in Chinese
画铁轨部件时, 游戏直接闪退
### Issue description 进行大规模的铁路规划时,游戏直接闪退 已经遇到4.5次了 ### Reproduction steps 进行大规模铁路绘制(规划模式),将大型铁路部件进行复制贴贴 可能出现游戏闪退的情况: 1.长时间把复制的大型铁路部件进行停留 2.大规模复制铁路部件贴贴 3.绘制复杂型铁路部件 ### Game version and build number 0.8.8d ### Which branch of the game are you on? Stable ### Operating system Windows
Captain Matt Captain Matt · 4 hours ago

Can you share the blueprint of the copied section? and/or share the save?

萌新 和稀泥入迷 萌新 和稀泥入迷 · 4 hours ago

Captain Matt wrote:

Can you share the blueprint of the copied section? and/or share the save?

这个不好复刻出来,是随机的,越长越大的轨道进行复制贴贴 越可能出现闪退

Captain Matt Captain Matt · 4 hours ago

That's why i'm asking for the blueprint\save, so that i can replicate the exact scenario and have better chances to find the issue.

萌新 和稀泥入迷 萌新 和稀泥入迷 · 4 hours ago

Captain Matt wrote:

That's why i'm asking for the blueprint\save, so that i can replicate the exact scenario and have better chances to find the issue.

哪里能找到游戏崩溃日志 复现太难了,全看运气

萌新 和稀泥入迷 萌新 和稀泥入迷 · 4 hours ago

萌新 和稀泥入迷 wrote:

复现出来一次,把大规模复制的 暂放在有铁轨的上面

根据网上方法 ,找到一个这个 看看是不是崩溃日志

1 attachment only for registered users
萌新 和稀泥入迷 萌新 和稀泥入迷 · 4 hours ago

Captain Matt wrote:

That's why i'm asking for the blueprint\save, so that i can replicate the exact scenario and have better chances to find the issue.

能依靠上面这几个 找到问题不

萌新 和稀泥入迷 萌新 和稀泥入迷 · 4 hours ago

这个是从存档位置找的日志文件

12 attachments only for registered users
Captain Matt Captain Matt · 4 hours ago

I tried different things and wasn't able to reproduce it, can you try without auto-translation and BepInEx "mods"?

萌新 和稀泥入迷 萌新 和稀泥入迷 · 3 hours ago

Captain Matt wrote:

I tried different things and wasn't able to reproduce it, can you try without auto-translation and BepInEx "mods"?

我用ai查找,这个里面 最后面就是问题。我没有用MOD

1 attachment only for registered users
萌新 和稀泥入迷 萌新 和稀泥入迷 · 3 hours ago

Captain Matt wrote:

I tried different things and wasn't able to reproduce it, can you try without auto-translation and BepInEx "mods"?

Mafi.Unity.Trains.TrainTracksPreviewGraphManager.performDeferredRegistration

萌新 和稀泥入迷 萌新 和稀泥入迷 · 3 hours ago

日志解读(Captain of Industry / 工业巨头)

plaintext

Mafi.Unity.Trains.TrainTracksPreviewGraphManager.performDeferredRegistration

这个崩溃点:铁轨预览图管理器,在后台模拟循环里延迟注册轨道预览数据时炸了。

参数里的 additionalPillars / poles(支柱/电杆)、invalidPositions、invalidPillarPositions、isForElectrification(电气化轨道)、combinedGraph,说明崩溃和:

蓝图粘贴、拖拽铺轨、电气化轨道、轨道支柱 / 立柱生成、无效轨道位置校验 强相关,跑在后台模拟线程(SimulationBackgroundTask),不是主渲染线程。

简单一句话:

游戏在后台刷新轨道预览网络、校验轨道支柱 / 电杆、电气化轨道图时,碰到脏数据、坏的轨道片段或者非法位置集合,抛出异常崩溃。

官方在 0.8.3a 专门修过一类:中途取消铺轨之后再拖放轨道触发同类报错,但还有残留变体,尤其大量蓝图批量贴轨道、电气化线路、高低差坡道轨道时更容易复现。

Captain Matt Captain Matt · 3 hours ago

This file shows multiple mods being used https://coigame.com/Topic/21378?page=1#post-54143

Files in these folders are the most helpful, you can attach them privately if you prefer: %USERPROFILE%/AppData/LocalLow/Mafi Games/Captain of Industry/ and %USERPROFILE%/AppData/Local/Temp/Mafi Games/Captain of Industry/Crashes

Captain Matt Captain Matt · 3 hours ago

BepInEx looks like a side loader that bypasses the game loader. This is from your logs:

[Message:   BepInEx] BepInEx 5.4.23.5 - Captain of Industry (2026/7/17 18:55:10)
[Info   :   BepInEx] Running under Unity v6000.3.19.7768564
[Info   :   BepInEx] CLR runtime version: 4.0.30319.42000
[Info   :   BepInEx] Supports SRE: True
[Info   :   BepInEx] System platform: Bits64, Windows
[Message:   BepInEx] Preloader started
[Info   :   BepInEx] Loaded 1 patcher method from [BepInEx.Preloader 5.4.23.5]
[Info   :   BepInEx] 1 patcher plugin loaded
[Info   :   BepInEx] Patching [UnityEngine.CoreModule] with [BepInEx.Chainloader]
[Message:   BepInEx] Preloader finished
[Message:   BepInEx] Chainloader ready
[Message:   BepInEx] Chainloader started
[Info   :   BepInEx] 2 plugins to load
[Info   :   BepInEx] Loading [XUnity Auto Translator 5.6.1]
[Info   :XUnity.AutoTranslator] Version of TextMesh Pro: 1.4.0.
[Warning:  HarmonyX] AccessTools.Method: Could not find method for type TMPro.TMP_Text and name SetCharArray and parameters (int[], int, int)
[Warning:XUnity.AutoTranslator] Could not hook 'TMP_Text_SetCharArray_Hook3'. Likely due differences between different versions of the engine or text framework.
[Info   :   Console] [LLMTranslate] === LLMTranslate 插件初始化 ===
[Info   :   Console] [LLMTranslate]   连接模式: 本机直连(系统代理已禁用)
[Info   :   Console] [LLMTranslate]   地址顺序: 发现文件 → ToolkitUrl → http://127.0.0.1:51821
[Info   :   Console] [LLMTranslate]   发现文件: C:\Users\yu178\AppData\Roaming\XUnityToolkit\runtime\toolbox-endpoint-v1.json
[Info   :   Console] [LLMTranslate]   配置地址: http://127.0.0.1:51821
[Info   :   Console] [LLMTranslate]   正常并发连接数: 10;断线时: 1
[Info   :   Console] [LLMTranslate]   每请求文本数: 10
[Info   :   Console] [LLMTranslate]   游戏 ID: (未设置)
[Info   :   Console] [LLMTranslate]   端点版本: 2.0.0
[Info   :   Console] [LLMTranslate]   禁用防刷检查: 是
[Info   :   Console] [LLMTranslate]   翻译延迟: 0.1 秒
[Info   :XUnity.AutoTranslator] Loaded XUnity.AutoTranslator into Unity [6000.3.19f1] game.
[Info   :   BepInEx] Loading [XUnity Resource Redirector 2.1.0]
[Message:   BepInEx] Chainloader startup complete
[Info   :   Console] [LLMTranslate] [连接] 工具箱暂不可用,后台等待恢复: TimeoutPossibleTunnelOrSecuritySoftware
[Info   :XUnity.AutoTranslator] Skipping plugin scan because no plugin-specific translations has been registered.
30 Showing 1–20 of 34