Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start crash from texture pack with environment textures #10186

Closed
3 tasks done
hortiSquash opened this issue Sep 7, 2024 · 1 comment
Closed
3 tasks done

start crash from texture pack with environment textures #10186

hortiSquash opened this issue Sep 7, 2024 · 1 comment
Labels

Comments

@hortiSquash
Copy link
Contributor

Platforms

Windows

Build

25254

Issue

the game crashes at startup when trying to load a texture pack that overrides the environment sprites

note that it only crashes when the mod texture scale is higher than 1.0x (aka smaller textures than vanilla)

Steps to reproduce

just load the mod i linked underneath -> insta crash before even reaching the menu

Mods used

hortiDefinition_x0.5.zip

Save file

No response

(Crash) logs

[I] Initialized Discord rich presence.
[I] [Core] Initialized SDL v2.0.20
[I] [Audio] Initialized SoLoud 202002 using MiniAudio at 44100hz / 2048 samples / 2 channels
[I] [GL] Version: OpenGL 3.1.0 / NVIDIA Corporation / NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2
[I] [GL] Max texture size: 32768
[I] [GL] Using OpenGL 3 context.
[I] [JAVA] Version: 16.0.2
[I] [RAM] Available: 3.9 GB
[I] [Mindustry] Version: 25254
[I] Loaded mod 'hortiDefinition' in 6.4067ms
[I] Total time to load: 3283ms
[I] Fetching community servers at https://raw.githubusercontent.com/Anuken/Mindustry/master/servers_be.json
[E] java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
at mindustry.world.blocks.environment.StaticWall.drawBase(StaticWall.java:33)
at mindustry.graphics.MenuRenderer.cache(MenuRenderer.java:202)
at mindustry.graphics.MenuRenderer.(MenuRenderer.java:37)
at mindustry.ui.fragments.MenuFragment.build(MenuFragment.java:33)
at mindustry.core.UI.init(UI.java:230)
at mindustry.ClientLauncher.update(ClientLauncher.java:227)
at arc.backend.sdl.SdlApplication.listen(SdlApplication.java:205)
at arc.backend.sdl.SdlApplication.loop(SdlApplication.java:193)
at arc.backend.sdl.SdlApplication.(SdlApplication.java:54)
at mindustry.desktop.DesktopLauncher.main(DesktopLauncher.java:39)

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, and have made sure the bug is not caused by mods I have installed.
@hortiSquash hortiSquash added the bug label Sep 7, 2024
@Matita008
Copy link

Please send log and crash log as a
.txt file

@Anuken Anuken closed this as completed in 31ad220 Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants