Anuken / Mindustry

The automation tower defense RTS
https://mindustrygame.github.io
GNU General Public License v3.0
22.55k stars 2.95k forks source link

Server crash #3851

Closed Somka000 closed 3 years ago

Somka000 commented 3 years ago

Platform: Linux

Build: 121.

Issue: Server sandbox crash

Save file: I dont have

If you remove the line above without reading it properly and understanding what it means, I will reap your soul. Even if you're playing on someone's server, you can still save the game to a slot.

(Crash) logs: *Mindustry has crashed. How unfortunate. Version: release build 121 (Server) OS: Linux x64 Java Version: 11.0.9.1 Java Architecture: 64 2 Mods: jseval:1.1, plplugin:1

java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0 at mindustry.ai.types.LogicAI.updateMovement(LogicAI.java:107) at mindustry.entities.units.AIController.updateUnit(AIController.java:45) at mindustry.gen.AmmoDistributePayloadUnit.update(AmmoDistributePayloadUnit.java:1176) at mindustry.entities.EntityGroup.each(EntityGroup.java:68) at mindustry.entities.EntityGroup.update(EntityGroup.java:58) at mindustry.gen.Groups.update(Groups.java:71) at mindustry.core.Logic.update(Logic.java:411) at arc.backend.headless.HeadlessApplication.mainLoop(HeadlessApplication.java:89) at arc.backend.headless.HeadlessApplication$1.run(HeadlessApplication.java:54) *


Place an X (no spaces) between the brackets to confirm that you have read the line below.

Anuken commented 3 years ago

Cannot reproduce this without a save or at least some steps.