Asek3 / Oculus

GNU Lesser General Public License v3.0
98 stars 48 forks source link

Crash with Shaders and Embeddium #617

Open awbuckst11181999 opened 2 months ago

awbuckst11181999 commented 2 months ago

What happened?

Game will randomly crash with a shader enabled with Occulus, see log file below. Screen will go completely white for a second and crash. Multiple people have this on our server, so different GPUs, AMD and GPU have crashed. crash-2024-05-02_23.58.09-client.txt

java.lang.NullPointerException: Cannot invoke "me.jellysquid.mods.sodium.client.render.chunk.RenderSection.getCulledBlockEntities()" because "renderSection" is null

Screenshots

No response

Relevant log output

No response

Minecraft Version

1.20.1

Oculus Version

1.7.0

Rubidium / Embeddium Version

Embeddium 0.3.17

Operating System

Win 10

What is your GPU?

Multiple AMD and Nvidia

Java Version

java 8 update 381

Additional context

No response

muddykat-tech commented 2 weeks ago

Note, I've also encountered this issue, I tracked the crash to when the game attempts to render a skull. From what I can tell (my best guess wth some lookings), it's attempting to reference a function that exists in oculus, but is using the wrong package pathway. (Iris's)

Is trying to find:

net.irisshaders.iris.layer.OuterWrappedRenderType.wrapExactlyOnce

Should be:

net.coderbot.iris.layer.OuterWrappedRenderType.wrapExactlyOnce

Hopefully this of some help.

Below is a pastebin of the crash on my end. https://pastebin.com/AFMRcTte