tr7zw / 3d-Skin-Layers

Renders the player skin layer in 3d
Other
188 stars 40 forks source link

Wither skeleton's head could cause it to crash if you look at it. #151

Closed YOMA8338 closed 6 months ago

YOMA8338 commented 6 months ago

I am the person who previously reported the problem under the title "crashes while playing on the server". When I crashed before, there was a wither skeleton head there. When I looked at the contents of the shulker box in the MiniHUD, there was a wither skeleton head there, but when I tried to view it, it crashed. This leads me to believe that there is a crashing bug in the wither skeleton head. The crash log is probably the same as before. This bug is very mysterious as for some reason sometimes it occurs and sometimes it does not.

YOMA8338 commented 6 months ago

There is a possibility of insufficient performance. So I will post the configuration of the PC. It's in Japanese...

image

CPU Intel(R)N95 RAM 8GB SSD 256GB Windows11pro 64bitOS x64Base Processor

tr7zw commented 6 months ago

Please provide the crash log, mc version mod version etc.

YOMA8338 commented 6 months ago

Perhaps this is it. crash-2024-04-27_13.01.08-client.txt MCVersion:1.20.4 Fabric 0.15.10 I believe the version of SkinLayer3D was 1.6.5.

tr7zw commented 6 months ago

Hm, my guess looking at that crash report, it seems to be due to how

fi.dy.masa.malilib.render.InventoryOverlay.renderStackAt

works, used by minihud. I'll add a fix into the next release.