Asek3 / Oculus

GNU Lesser General Public License v3.0
106 stars 55 forks source link

[1.18.2] Game crashes when breaking animation starts with shaders enabled #110

Open poisax opened 2 years ago

poisax commented 2 years ago

Minecraft Version

1.18.2

Iris Version

oculus-mc1.18.2-1.2.5.jar

Sodium Version

rubidium-0.5.2a.jar

Operating System

Windows 11

What is your GPU?

Nvidia GeForce RTX 2060

Java Version

Java 17

Reproduction Steps

  1. Start breaking a block in survival
  2. As soon as the animation is supposed to play
  3. Game Crashes

Crash Report file and latest.log

https://gist.github.com/poisax/30b133c9a179dea0a9a202e58ff91835

Additional context

There is no crash report, only the logs. Also the game process keeps running in the background

InteJason commented 2 years ago

https://paste.ee/p/pl87r same issue

Edit: Found that this issue happens when you update forge beyond 40.1.23

SDUBZ commented 2 years ago

i noticed myself this seems to only happen with nvidia cards

SDUBZ commented 2 years ago

okays i got the crash from watching a friend and my cards a amd rx 590 so its just not nvidia like i thought debug.log latest.log crash-2022-07-02_01.20.55-client.txt

@Asek3

archonsd commented 2 years ago

This happens for me too with any version of Forge above .47. I can reliably cause it by upgrading only Forge to any of .51, .52, and .54. Downgrading back to 1.18.2-40.1.47 allows it to not recur.

Oculus: oculus-mc1.18.2-1.2.5.jar Rubidium: rubidium-0.5.2a.jar Forge (happens, tested): forge-1.18.2-40.1.51, .52, and .54 Forge (stable): forge-1.18.2-40.1.47

Update: Can confirm that disabling shaders (SEUS PTGI HRR 3 in my case) but leaving the same revisions of Oculus and Rubidium in place allows block breaking to occur normally without a crash.

SDUBZ commented 2 years ago

if we had the new tweaks to iris in this mod or one of its addons we could disable the block breaking particle and it should be useable again

newbie12121 commented 2 years ago

Likewise getting this issue. https://paste.ee/p/uqZ5p crash report

Gavin456b commented 2 years ago

Also having this issue

GeggsLegs commented 2 years ago

I am also getting it with complementary shaders on forge 40.1.60 and on forge 40.1.67

Gbergz commented 2 years ago

Can confirm.

krumen commented 2 years ago

Same here, this need to be fix'd plz. Nvidia 3080, tested with 8 shaders, every time, same error:

Forge 40.1.67

The game crashed whilst tesselating block model Error: java.lang.IllegalArgumentException: Vertex element out of bounds: 6

Gavin456b commented 2 years ago

Yep, still having this issue in forge 40.1.67 whenever shaders are enabled. I can't downgrade my version of Oculus either because then it bugs out my shaders.

ChloeDawn commented 2 years ago

This crash occurs when the experimental Forge light pipeline is enabled. As a temporary workaround, the light pipeline can be disabled in ~/config/forge-client.toml by setting experimentalForgeLightPipelineEnabled to false, but may cause rendering bugs with custom models.

Gavin456b commented 2 years ago

Thank you! I will try this out and see if it fixes the problem

Gavin456b commented 2 years ago

This crash occurs when the experimental Forge light pipeline is enabled. As a temporary workaround, the light pipeline can be disabled in ~/config/forge-client.toml by setting experimentalForgeLightPipelineEnabled to false, but may cause rendering bugs with custom models.

Okay so I disable it but it turns itself back on by default whenever I start the game.

ChloeDawn commented 2 years ago

One of your mods might be forcing it back on, I'm not sure

Gavin456b commented 2 years ago

Well it does fix the problem I just have to force it off whenever I start the game