[#12832] Random Crash in Erekir Unit Assembler
自动翻译暂时不可用
本帖暂时展示 GitHub 原始内容。
Platforms
Mac
Build
160.7
Issue
I had a very generic ship assembler setup running on erekir in origin that crashed very randomly.
<img width="1602" height="926" alt="Screenshot 2026-11-12 at 15 41 27" src="https://github.com/user-attachments/assets/405956f2-b668-4bf4-a1c8-e32e1ef0c3e3" />
Steps to reproduce
I'm not able to reproduce but it looks fixable with the crash log (just add bounds checking to the array?).
Mods used
None
Save file
(Crash) logs
Mindustry has crashed. How unfortunate.
Version: release build 160.4 (Built September 13, 2026 22:43 PM)
Date: November 12, 2026 15:30:31 PM
OS: Mac OS X x64 (x86_64)
GL Version: OpenGL 4.1.0 / Apple / Apple M4 / 4.1 Metal - 90.5
Java Version: 25.0.1
Runtime Available Memory: 4096mb
Cores: 10
Mods: none (vanilla)
java.util.NoSuchElementException: 2
at arc.struct.Seq$SeqIterable$SeqIterator.next(Seq.java:1171)
at mindustry.world.consumers.ConsumePayloadDynamic.efficiency(ConsumePayloadDynamic.java:22)
at mindustry.world.blocks.units.UnitAssembler$UnitAssemblerBuild.shouldConsume(UnitAssembler.java:395)
at mindustry.world.consumers.ConsumePower.requestedPower(ConsumePower.java:59)
at mindustry.world.blocks.power.PowerGraph.getPowerNeeded(PowerGraph.java:112)
at mindustry.world.blocks.power.PowerGraph.update(PowerGraph.java:227)
at mindustry.gen.PowerGraphUpdater.update(PowerGraphUpdater.java:181)
at mindustry.entities.EntityGroup.update(EntityGroup.java:90)
at mindustry.core.Logic.updateEntities(Logic.java:487)
at mindustry.core.Logic.update(Logic.java:608)
at arc.ApplicationCore.update(ApplicationCore.java:37)
at mindustry.ClientLauncher.update(ClientLauncher.java:256)
at arc.backend.sdl.SdlApplication.listen(SdlApplication.java:227)
at arc.backend.sdl.SdlApplication.loop(SdlApplication.java:215)
at arc.backend.sdl.SdlApplication.<init>(SdlApplication.java:58)
at mindustry.desktop.DesktopLauncher.main(DesktopLauncher.java:53)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 同步机器人自动同步。