IrisShaders / Iris

A modern shaders mod for Minecraft compatible with existing OptiFine shader packs
https://irisshaders.dev
GNU Lesser General Public License v3.0
3.36k stars 642 forks source link

Replay Mod crash #2092

Open Paladynee opened 1 year ago

Paladynee commented 1 year ago

https://github.com/ReplayMod/ReplayMod/issues/890

Minecraft Version

Minecraft 1.20.1

Iris Version

iris-mc1.20.1-1.6.5.jar

Sodium Version

sodium-fabric-mc1.20.1-0.5.0.jar

Operating System

Windows 10 22H2 Build 19045.3324

What is your GPU?

NVIDIA GeForce GTX 1050 Ti

Java Version

Java 16 (probably, i dont know since i use tlauncher)

Reproduction Steps

  1. Render a replay using replay mod.
  2. (don't know if relevant) click the preview button thing

Crash Report file and latest.log

There are 2 crashes (??????). crash-2023-08-12_11.35.25-client.txt crash-2023-08-12_11.35.23-client.txt

Additional context

Using Sildur's Shaders Medium (if relevant) Replay Mod version replaymod-1.20.1-2.6.13.jar

I wasn't sure if this bug is relevant to Iris or Replay Mod, so I posted the crash to both.

latest.log

coderbot16 commented 10 months ago
java.lang.IllegalStateException: Tried to use a destroyed GlResource
    at net.coderbot.iris.gl.GlResource.assertValid(GlResource.java:21)
    at net.coderbot.iris.gl.GlResource.getGlId(GlResource.java:26)
    at net.coderbot.iris.gl.framebuffer.GlFramebuffer.destroyInternal(GlFramebuffer.java:97)
    at net.coderbot.iris.gl.GlResource.destroy(GlResource.java:13)
    at net.coderbot.iris.rendertarget.RenderTargets.destroyFramebuffer(RenderTargets.java:339)
    at net.coderbot.iris.postprocess.CompositeRenderer.recalculateSizes(CompositeRenderer.java:197)
    at net.coderbot.iris.pipeline.newshader.NewWorldRenderingPipeline.beginLevelRendering(NewWorldRenderingPipeline.java:943)
    at net.minecraft.class_761.handler$cfg000$iris$beginLevelRender(class_761.java:9016)
    at net.minecraft.class_761.method_22710(class_761.java:1234)
    at net.minecraft.class_757.method_3188(class_757.java:1110)
    at net.minecraft.class_757.method_3192(class_757.java:880)
    at net.minecraft.class_310.method_1523(class_310.java:1219)
    at net.minecraft.class_310.method_1514(class_310.java:802)
    at net.minecraft.client.main.Main.main(Main.java:250)
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:468)
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)