CaffeineMC / sodium-fabric

A Fabric mod designed to improve frame rates and reduce micro-stutter
Other
4.58k stars 774 forks source link

Weird crash in multiplayer #1016

Closed Taiyou06 closed 11 months ago

Taiyou06 commented 2 years ago

Version information

mc1.18-0.4.0-alpha5+build.9

Reproduction Steps

1.Join a 1.18 server 2.Load a lot of chunks at once 2.1 or just wait few minutes

Crash Report file

crash-2021-12-02_18.29.27-client.txt

Additional information

No response

JonathanTippy commented 2 years ago

i have the same issue.

TechnicallyCoded commented 2 years ago

I've experienced the same issue too

LuanSeverinodoSantos commented 2 years ago

Também acontece a mesma coisa na 1.16.5

Texbio commented 2 years ago

I am having the same "Tried to mark light data as ready" issue too

Millsonhub commented 2 years ago

Same issue, please fix in the next version

silversquirl commented 2 years ago

I can reproduce this easily by going back and forth between two end gateways rapidly. Happens in singleplayer as well.

candrawardana commented 2 years ago

it's only happen with plugin "fartherviewdistance" wich is faking the server's render distance. completely natural in vanilla

cootshk commented 2 years ago

Same issue Crash report: https://crashy.net/WjYJQrDZB3E2QCus955w

jellysquid3 commented 2 years ago

Does this issue still occur with version 0.4.1 for Minecraft 1.18.2?

Pectacular commented 2 years ago

Does this issue still occur with version 0.4.1 for Minecraft 1.18.2?

For me it still does.

mfn003 commented 2 years ago

Still happening with me as well.

Rimapus commented 2 years ago

Any solution for this problem ? Its very annoying 😐

ZeroCaty commented 2 years ago

The bug occurs in single player. I can not accurately determine the sequence of actions leading to the crash. It seems to have something to do with the teleportation of the player at the time of the light update in the chunks.

Rimapus commented 2 years ago

The bug occurs in single player. I can not accurately determine the sequence of actions leading to the crash. It seems to have something to do with the teleportation of the player at the time of the light update in the chunks.

Oh... for me it happen also in multiplayer

LaysDragon commented 2 years ago

yeah...I have playing with friends with a 1.18.1 dungeon pve map, it's always crash my game while I dead. It indeed will teleport player after death. So I guess the problem is really related to teleporting. :/ I'm also using iris with shader pack.

so do we have any workaround here?

ChildishGiant commented 2 years ago

crash-2022-06-14_22.53.35-client.txt

Tomasz4414 commented 2 years ago

Still having this issue in 1.19, please fix

magnus-ISU commented 2 years ago

Alright, I'll say what I said on my own issue here.

I changed the code that throws the illegal state exception into a print and so far, it hasn't caused issues. So until an actual fix is pushed by someone who knows how sodium works, this might be useful to some people.

Here is a repository where I uploaded the code. I don't know the structure of sodium or the proper way I should have done this, checkout the master branch if you want to compile it yourself. Here is the diff Here is a repository where the binary is hosted; here is the jar you can use.

I hope this is acceptable - I understand that you don't want people posting binaries of forks in the issue tracker or something; on the other hand, please fix an apparently 6-month-old crash bug with an issue title and description that say nothing about the crash itself.

candrawardana commented 2 years ago

thats just works... like charm... thx

wifi-left commented 1 year ago

I tried to make a mod using mixin and modified the code to refresh the light source Replace the original crashing code with console output This problem seems to be fixed on my computer. Here is the modrinth link for the mod

Altener commented 1 year ago

I can consistently reproduce this crash using a create contraption that moves me at extremely high speeds (literally a stick with a seat attached to one end and a mechanical bearing spinning it from the other). No matter what options i change it always happens

nyaNezt commented 1 year ago

It happened to me when I set up 2 command blocks with buttons on them which teleport a player facing the button to the other command block. Holding right-click which means pushing the buttons constantly crashed the game with the same error

Tom3k44 commented 1 year ago

Still not fixed as in 1.19.2

xparadoxical commented 1 year ago

Updating from 0.4.2 to 0.4.4 resolved this for me

jellysquid3 commented 11 months ago

This shouldn't happen any longer in recent versions of Sodium...

iKARY19 commented 1 week ago

same issue crash : crash-2024-06-22_15.55.46-client.txt

Poopooracoocoo commented 1 week ago

@iKARY19 you've just got an old version of Indium that was not compatible with Fabric API 0.89 and above. You need to update Indium. You'll also need to update Sodium and any other dependent mods such as Sodium Extra and Iris

iKARY19 commented 1 week ago

thanks i will try

iKARY19 commented 1 week ago

@Poopooracoocoo its doesent work its not compatible to other my mods

iKARY19 commented 1 week ago

can u send me the versions on the mods ? i will try

jellysquid3 commented 1 week ago

This is not a support forum, and your issue has nothing to do with what's described above. Use the Discord server if you want help from the community.