lobbienjonsji / Lobs-Metalworks-Issues

Just an issue page for the mod
0 stars 0 forks source link

Crash after rendering an anvil for a few minutes #4

Open ChiefLogan3010 opened 3 years ago

ChiefLogan3010 commented 3 years ago

After a few minutes of the game being loaded and standing near a stone anvil (within sight if that makes a difference for rendering) the game crashes. I'm not sure if this happens with other anvil tiers as well but I'd assume so since they use the same model.

Versions used: lobbiens_metalworks-1.6 Forge 36.2.0

Crash report: https://gist.github.com/ChiefLogan3010/2ee9abdb1b79b24627e4f47145e59ad3

lobbienjonsji commented 3 years ago

Ok this is a REALLY wierd bug. I'll look into it, thanks for reporting it.

lobbienjonsji commented 3 years ago

Ok, I did not manage to recreate the crash, and from the crash reports it looks like a mod you installed seems to be messing around with blockstates (there is a mixin in the state holder class). For now I'll try surrounding the faulty code with a try-catch clause, which might occasionally mess up the rendering, but prevent the game from crashing, until I find a better solution. The fix will be up in 1 - 2 days, because I'll have to fix some other things as well before uploading the newest version of the mod.

lobbienjonsji commented 3 years ago

In fact this line of the crash report seems to indicate ferrite core might cause the issue: at net.minecraft.state.StateHolder.func_177229_b(SourceFile:95) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:ferritecore.fastmap.mixin.json:FastMapStateHolderMixin,pl:mixin:A} I might contact the mod creator to see if I can find a better workaround for the issue.

lobbienjonsji commented 3 years ago

Alright, mod version 1.7 which includes the fix has been uploaded.

ChiefLogan3010 commented 3 years ago

Wow, that was fast! Thanks for the fix