Sodium

Sodium

44M Downloads

ArrayIndexOutOfBoundsException crash on Hypixel Skyblock

Leo40Git opened this issue ยท 5 comments

commented

This issue was encountered while using a development build of Sodium!

Build is from commit 07c4cc1.

Reproduction Steps

I triggered this crash in an area that's locked behind a skill level, so you'll need to play some Skyblock before you can replicate it. Sorry!

  1. In Hypixel Skyblock, go to the Deep Caverns area
  2. Get to one of the lower levels - I replicated the crash in Slimehill and initially encountered it in Obsidian Sanctuary
  3. Wait - I'm unsure of what actually triggers the crash, but it seems to happen around these areas
  4. The game crashes

Crash Report File

Over here!

commented

Done.

commented

If you go below y=0, then this is a duplicate of #587

Can you reproduce with #589

You can download a build for that here:
https://github.com/CaffeineMC/sodium-fabric/actions/runs/660817686

commented

You can't go below Y=0 here, bar falling off the map (and the exception details don't line up with that case: the AIOOB is caused by trying to reference the 16th element in a 16-length array, while falling below Y=0 tries to access the element at index -1).

Will now try with that PR.

commented

Seems to be fixed by #589, so maybe this is a variant of #587 rather than a duplicate?

commented

Seems to be fixed by #589, so maybe this is a variant of #587 rather than a duplicate?

Then maybe you should post your log and scenario on #587 and close this, since they are both fixed by the same PR?