Mekanism

Mekanism

129M Downloads

Client crash when drawing meka tool blasting upgrade block outlines when looking at a refined storage grid

Raidobw2 opened this issue ยท 3 comments

commented

Issue description

Most likely a reopen of #8376

ALL of the information is available here as well: FTBTeam/FTB-Modpack-Issues#9207

If you hold a meka tool with a blasting upgrade (enabled with block outline, large size), when looking at specific blocks from refined storage, your game can crash (see log section).

Specifically look at a setup like this with the tool to trigger a client crash

Image

The modpack in which this happens (FTB Presents Direwolf20 1.21.1 modpack version 1.14.2) has a slightly older Mek version, but I figured this may potentially not have been fixed since the old issue #8376 was closed before being able to provide a diagnosis.

java.lang.IllegalStateException: Not building!
at TRANSFORMER/[email protected]/com.mojang.blaze3d.vertex.BufferBuilder.ensureBuilding(MixinBufferBuilder.java:76)
at TRANSFORMER/[email protected]/com.mojang.blaze3d.vertex.BufferBuilder.beginVertex(MixinBufferBuilder.java:95)
at TRANSFORMER/[email protected]/com.mojang.blaze3d.vertex.BufferBuilder.addVertex(MixinBufferBuilder.java:156)
at TRANSFORMER/[email protected]/com.mojang.blaze3d.vertex.VertexConsumer.addVertex(VertexConsumer.java:531)
at TRANSFORMER/[email protected]/com.mojang.blaze3d.vertex.VertexConsumer.addVertex(VertexConsumer.java:156)
at TRANSFORMER/[email protected]/net.minecraft.client.renderer.LevelRenderer.lambda$renderShape$7(LevelRenderer.java:2210)
at TRANSFORMER/[email protected]/net.minecraft.world.phys.shapes.VoxelShape.lambda$forAllEdges$1(VoxelShape.java:92)
at TRANSFORMER/[email protected]/net.minecraft.world.phys.shapes.DiscreteVoxelShape.forAllAxisEdges(DiscreteVoxelShape.java:181)
at TRANSFORMER/[email protected]/net.minecraft.world.phys.shapes.DiscreteVoxelShape.forAllEdges(DiscreteVoxelShape.java:129)
at TRANSFORMER/[email protected]/net.minecraft.world.phys.shapes.VoxelShape.forAllEdges(VoxelShape.java:92)
at TRANSFORMER/[email protected]/net.minecraft.client.renderer.LevelRenderer.renderShape(LevelRenderer.java:2201)
at TRANSFORMER/[email protected]/net.minecraft.client.renderer.LevelRenderer.renderHitOutline(LevelRenderer.java:2122)
at TRANSFORMER/[email protected]/mekanism.client.render.RenderTickHandler.onBlockHover(RenderTickHandler.java:407)
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.SubscribeEventListener.invoke(SubscribeEventListener.java:49)

Steps to reproduce

  1. Equip meka-tool
  2. Equip blasting upgrade
  3. Look at crafting grid (boom)
  4. Client crashes
  5. Upon relogin, you are softlocked because your character (server-side, if playing on a server, which didn't crash) is looking at the grid
  6. Crash again

Minecraft version

1.21.1 (Latest)

NeoForge version

neoforge-21.1.172

Mekanism version

10.7.14

Other relevant versions

The modpack in which this happened was FTB Presents Direwolf20 1.21.1 with modpack version 1.14.2

It's possible this is a cross interaction with any of the following mods, but will crash on Mek's end.

Filename Display Name Mod ID Version
refinedstorage-neoforge-2.0.0-beta.2.jar Refined Storage refinedstorage 2.0.0-beta.2
refinedstorage-curios-integration-1.0.0.jar Refined Storage - Curios Integ refinedstorage_curios_integrat 1.0.0
refinedstorage-jei-integration-neoforge-1.0.0.jar Refined Storage - JEI Integrat refinedstorage_jei_integration 1.0.0
refinedstorage-mekanism-integration-1.0.0.jar Refined Storage - Mekanism Int refinedstorage_mekanism_integr 1.0.0
refinedstorage-quartz-arsenal-neoforge-1.0.0.jar Refined Storage - Quartz Arsen refinedstorage_quartz_arsenal 1.0.0

Additional notes: The impacted user had their game successfully fixed by changing the following player data. It looks like an edge case with the blasting upgrade and RS.

Image

If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)

See issue description

commented

Supply the full crashlog, not just the bit that you think is relevant. It's likely not mekanism directly.

Can you reproduce it with only Mekanism and RS?

commented

Here's the pastebin link for convenience: https://pastebin.com/17wH5HgR

And this is the full file in case the link expires crash-2025-10-10_17.37.32-client.txt

I've not tried reproducing it only with the mods Mekanism and RS sorry. I was just helping a user with their issue and decided I should make a report since I had not seen anything on this tracker about it. Thank you for looking into it

commented

Prospective fix pushed (not yet released)