MEEPofFaith / black-holes-library

Black hole renderer for Mindustry mods.
10 stars 2 forks source link

crash on BE #4

Open walksanatora opened 6 months ago

walksanatora commented 6 months ago
[I] Initialized Discord rich presence.
[I] [Core] Initialized SDL v2.0.10
[I] [Audio] Initialized SoLoud 202111 using MiniAudio at 44100hz / 900 samples / 2 channels
[I] [GL] Version: OpenGL 4.6.0 / Intel / Mesa Intel(R) UHD Graphics (JSL)
[I] [GL] Max texture size: 16384
[I] [GL] Using OpenGL 3 context.
[I] [JAVA] Version: 17.0.11
[I] [RAM] Available: 4.8 GB
[I] [Mindustry] Version: 25013
[I] Loaded mod 'black-hole-renderer' in 72.84666ms
[I] Loaded mod 'extra-sand-redux' in 7.55438ms
[I] Total time to load: 6817ms
[I] Fetching community servers at https://raw.githubusercontent.com/Anuken/Mindustry/master/servers_be.json
[E] java.lang.RuntimeException: Error loading mod black-hole-renderer
        at mindustry.mod.Mods.contextRun(Mods.java:847)
        at mindustry.mod.Mods.lambda$eachClass$30(Mods.java:835)
        at arc.struct.Seq.each(Seq.java:182)
        at mindustry.mod.Mods.eachClass(Mods.java:835)
        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.<init>(SdlApplication.java:54)
        at mindustry.desktop.DesktopLauncher.main(DesktopLauncher.java:39)
Caused by: java.lang.IllegalArgumentException: Failed to compile shader: Fragment shader:
0:2(1): preprocessor error: #version must appear on the first line

        at arc.graphics.gl.Shader.<init>(Shader.java:119)
        at arc.graphics.gl.Shader.<init>(Shader.java:124)
        at blackhole.graphics.BHShaders$LensingShader.<init>(BHShaders.java:33)
        at blackhole.graphics.BHShaders.createBlackHoleShaders(BHShaders.java:24)
        at blackhole.graphics.BlackHoleRenderer.<init>(BlackHoleRenderer.java:29)
        at blackhole.graphics.BlackHoleRenderer.init(BlackHoleRenderer.java:42)
        at blackhole.BlackHoleMod.init(BlackHoleMod.java:21)
        at mindustry.mod.Mods.lambda$eachClass$29(Mods.java:835)
        at mindustry.mod.Mods.contextRun(Mods.java:845)
        ... 8 more
BlueTheCube commented 5 months ago

Still crashes as of BE 25086