Anuken / Mindustry

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

The game crashes when I launch from one place to another #5738

Closed LTHPKBTE closed 3 years ago

LTHPKBTE commented 3 years ago

Platform: Windows

Build:Pre-Alpha Build 129.2

Issue: The game crashes when I launch from one place to another

Steps to reproduce: 图片

Save file: saves.zip

(Crash) logs Version: pre-alpha build 129.2 OS: Windows 10 x64 (amd64) Java Version: 16.0.1 0 Mods java.lang.IllegalStateException: Frame buffer couldn't be constructed: incomplete attachment at arc.graphics.gl.GLFrameBuffer.build(GLFrameBuffer.java:241) at arc.graphics.gl.FrameBuffer.resize(FrameBuffer.java:115) at mindustry.graphics.Pixelator.drawPixelate(Pixelator.java:36) at mindustry.core.Renderer.update(Renderer.java:166) at arc.ApplicationCore.update(ApplicationCore.java:37) at mindustry.ClientLauncher.update(ClientLauncher.java:174) at arc.backend.sdl.SdlApplication.listen(SdlApplication.java:166) at arc.backend.sdl.SdlApplication.loop(SdlApplication.java:154) at arc.backend.sdl.SdlApplication.(SdlApplication.java:45) at mindustry.desktop.DesktopLauncher.main(DesktopLauncher.java:38)
LixieWulf commented 3 years ago

Provide a crash log.

LTHPKBTE commented 3 years ago

crash-report-08_11_2021_13_35_53.txt

LTHPKBTE commented 3 years ago

After restarting the game several times, the problem seemed to disappear.

Anuken commented 3 years ago

Cannot reproduce the issue across multiple launches and various zoom levels. Implemented a potential fix, but there's no way to be sure if it works.