[#12831] Game breaking bug in microprocessor!
自动翻译暂时不可用
本帖暂时展示 GitHub 原始内容。
Platforms
Windows
Build
Release build 159.7 steam
Issue
Hi, i was doing some coding to try and make save power in my factory at "stained mountains" sector. this was during my maths class so i put my laptop away on the micro processor screen, letting the game be normal, my automatic pause in background is enabled but i was on the mindustry tab so mindustry was running. i recorded 2 videos and 4 screenshots that i have sent down below.
the code i used was copy pasted from google gemini and i imported from clipboard;
# --- STORAGE CAPACITY ---
# Foundation Core capacity is 9000
set maxCap 9000
# --- COPPER ---
# Conveyor 7
sensor copCount foundation1 @copper
op greaterThanEq copFull copCount maxCap
control enabled conveyor7 not copFull
# --- LEAD ---
# Conveyors 2, 5, and 8
sensor leadCount foundation1 @lead
op greaterThanEq leadFull leadCount maxCap
control enabled conveyor2 not leadFull
control enabled conveyor5 not leadFull
control enabled conveyor8 not leadFull
# --- METAGLASS ---
# Conveyors 3 and 9
sensor glassCount foundation1 @metaglass
op greaterThanEq glassFull glassCount maxCap
control enabled conveyor3 not glassFull
control enabled conveyor9 not glassFull
# --- GRAPHITE ---
# Conveyors 6 and 10
sensor graphCount foundation1 @graphite
op greaterThanEq graphFull graphCount maxCap
control enabled conveyor6 not graphFull
control enabled conveyor10 not graphFull
# --- TITANIUM ---
# Conveyors 4 and 5 (Note: Conveyor 5 will stop if Lead OR Titanium is full)
sensor titCount foundation1 @titanium
op greaterThanEq titFull titCount maxCap
control enabled conveyor4 not titFull
if titFull == 1 jump 23
jump 24
control enabled conveyor5 0
# --- SILICON ---
# Conveyor 3 (Note: Conveyor 3 will stop if Metaglass OR Silicon is full)
sensor silCount foundation1 @silicon
op greaterThanEq silFull silCount maxCap
if silFull == 1 jump 28
jump 29
control enabled conveyor3 0
# --- PLASTANIUM ---
# Conveyor 8 (Note: Conveyor 8 will stop if Lead OR Plastanium is full)
sensor plasCount foundation1 @plastanium
op greaterThanEq plasFull plasCount maxCap
if plasFull == 1 jump 33
jump 34
control enabled conveyor8 0this was to stop conveyors from working when the core is full of a resource, i was using the microprocessor as i was midgame and didnt have the other processor types. the bug disallowed me from viewing the game, the ui was breaking and random entities were spawning and "despawning"? this completely broke my game till i restarted and i hope i helped as much as i can because i couldnt interact / see basically anything.
i really wish i could help more but ive seen no report on this so far (that is specfically this issue) so it could already be reported but if not i would like to let you know, have a beautiful day and i love this game so thank you 💖
<img width="1919" height="1199" alt="Skärmbild 2026-11-12 134614" src="https://github.com/user-attachments/assets/995626ee-ef7e-4c36-a532-74800a47d1cf" /> <img width="1919" height="1199" alt="Skärmbild 2026-11-12 135343" src="https://github.com/user-attachments/assets/313b467a-0042-4af0-b64e-9b75d4d93112" /> <img width="1919" height="1199" alt="Skärmbild 2026-11-12 135353" src="https://github.com/user-attachments/assets/12fbfbab-9d04-4e3b-9582-01941efd9aac" /> <img width="1919" height="1199" alt="Skärmbild 2026-11-12 135435" src="https://github.com/user-attachments/assets/875f4d1f-c780-4d37-b228-6beedac24d36" />
(normal look)
<img width="1919" height="1199" alt="Skärmbild 2026-11-12 142822" src="https://github.com/user-attachments/assets/c364b1b5-9458-48fe-a61e-2b90ab5fc3c7" />
https://github.com/user-attachments/assets/e51f457a-28c0-4543-8e29-2092a93ef310
https://github.com/user-attachments/assets/6c862bba-1d25-4ea7-b599-3177ca0ed86a
Steps to reproduce
mindustry 159.7
11 conveyors into core on the map "stained mountains" with different materials
microprocessor connected to all, code sent above in the issue section.
wait for the game for roughly 30-45 minutes
game breaks and stops working
(maybe external factors but no mods were included, pure vanilla serpulo)
Mods used
none
Save file
(Crash) logs
Submission
I have updated to the latest release (https://github.com/Anuken/Mindustry/releases) to make sure my issue has not been fixed.
I have searched the closed and open issues to make sure that this problem has not already been reported.
I am not using Foo's Client.
This issue occurs with no mods enabled.
I have attached a valid save file.
由 MDT GitHub 同步机器人自动同步。