Open fnky opened 5 months ago
Although I was able to enable debug to get the actual crash info, without debugging enabled this crash still persists.
The shader crash was caused by a null pointer exception. Not sure if this is an issue with Iris or photon, but I assume the latter.
java.lang.NullPointerException
at org.lwjgl.system.Checks.check(Checks.java:188)
at org.lwjgl.opengl.GL44C.glClearTexImage(GL44C.java:1126)
at org.lwjgl.opengl.ARBClearTexture.glClearTexImage(ARBClearTexture.java:331)
at net.irisshaders.iris.gl.image.GlImage.setup(GlImage.java:69)
at net.irisshaders.iris.gl.image.GlImage.<init>(GlImage.java:45)
at net.irisshaders.iris.pipeline.IrisRenderingPipeline.<init>(IrisRenderingPipeline.java:233)
at net.irisshaders.iris.Iris.createPipeline(Iris.java:578)
at net.irisshaders.iris.pipeline.PipelineManager.preparePipeline(PipelineManager.java:33)
at net.irisshaders.iris.Iris.reload(Iris.java:529)
at net.irisshaders.iris.apiimpl.IrisApiV0ConfigImpl.setShadersEnabledAndApply(IrisApiV0ConfigImpl.java:28)
at net.irisshaders.iris.gui.screen.ShaderPackScreen.applyChanges(ShaderPackScreen.java:627)
at net.irisshaders.iris.gui.screen.ShaderPackScreen.lambda$init$6(ShaderPackScreen.java:265)
at net.minecraft.class_4185.method_25306(class_4185.java:96)
at net.minecraft.class_4264.method_25348(class_4264.java:48)
at net.minecraft.class_339.method_25402(class_339.java:141)
at net.minecraft.class_4069.method_25402(class_4069.java:38)
at net.irisshaders.iris.gui.screen.ShaderPackScreen.method_25402(ShaderPackScreen.java:226)
at net.minecraft.class_312.method_1611(class_312.java:101)
at net.minecraft.class_437.method_25412(class_437.java:467)
at net.minecraft.class_312.method_1601(class_312.java:101)
at net.minecraft.class_312.method_22686(class_312.java:186)
at net.minecraft.class_1255.execute(class_1255.java:108)
at net.minecraft.class_312.method_22684(class_312.java:186)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438)
at com.mojang.blaze3d.systems.RenderSystem.pollEvents(RenderSystem.java:200)
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:218)
at net.minecraft.class_1041.method_15998(class_1041.java:287)
at net.minecraft.class_310.method_1523(class_310.java:1342)
at net.minecraft.class_310.method_1514(class_310.java:888)
at net.minecraft.client.main.Main.main(Main.java:265)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Minecraft Version
1.20.6
Iris Version
iris-1.7.1+mc1.20.6.jar
Sodium Version
sodium-fabric-0.5.9+mc1.20.6.jar
Operating System
macOS Sonoma 14.3.1
What is your GPU?
Apple M1 Pro
Java Version
Java 21
Reproduction Steps
Crash Report file and latest.log
Additional context