Iris Shaders

Iris Shaders

36M Downloads

[1.19.2] Crash on join - edge case

itsdinkd opened this issue ยท 1 comments

commented

Minecraft Version

1.19.2

Iris Version

iris 1.5.0

Sodium Version

0.4.4 build 18

Operating System

w11

What is your GPU?

2080 rtx

Java Version

17

Reproduction Steps

This i believe is an edge case as its the first it happened in my modpack aqm2

  1. Joined server
  2. Disconnected
  3. Joined back
  4. Crash

Crash Report file and latest.log

https://gist.github.com/itsdinkd/0bb48c793d309309c596a6aae99be522

Additional context

No response

commented

This does not appear to be caused by Iris. While Iris appears in the stack trace:

at net.minecraft.class_761.redirect$icj000$iris$renderTranslucentAfterDeferred(class_761.java:22004)

This is just Iris moving around a call to ParticleRenderer:

@Redirect(method = "renderLevel", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/particle/ParticleEngine;render(Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource$BufferSource;Lnet/minecraft/client/renderer/LightTexture;Lnet/minecraft/client/Camera;F)V"))
private void iris$renderTranslucentAfterDeferred(ParticleEngine instance, PoseStack poseStack, MultiBufferSource.BufferSource bufferSource, LightTexture lightTexture, Camera camera, float f) {
ParticleRenderingSettings settings = getRenderingSettings();
if (settings == ParticleRenderingSettings.AFTER) {
minecraft.particleEngine.render(poseStack, bufferSource, lightTexture, camera, f);
} else if (settings == ParticleRenderingSettings.MIXED) {
((PhasedParticleEngine) minecraft.particleEngine).setParticleRenderingPhase(ParticleRenderingPhase.TRANSLUCENT);
minecraft.particleEngine.render(poseStack, bufferSource, lightTexture, camera, f);
}
}

Please try without Iris.