Mekanism

Mekanism

111M Downloads

SpongeForge Incompatibility

DocterDum opened this issue ยท 5 comments

commented

Issue description

When using Mekanism and SpongeForge the game crashes on launch

Tested with only Mek and SF installed.

latest.log
debug.log
crash-2022-02-15_18.35.43-fml.txt

Steps to reproduce

Install Mekanism, SpongeForge
Run game
Crash

Minecraft version

1.16.5 (Latest)

Forge version

36.2.26

Mekanism version

10.1.1 (Latest)

Other relevant versions

spongeforge-1.16.5-36.2.5-8.0.0-RC1073-universal.jar

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

Included in description

commented

I will try to look into this briefly as part of the final 1.16 version as I believe it is due to us passing a null level to the item entity just given it doesn't crash and then we set it before it actually gets used, though sponge is mixing in and trying to use the field (as it is usually non null) before it is being used or even has been added to a world, so I guess we could try and lazily initialize the field.

commented

Awesome, thank you!

I'd offer more help but this one's way over my head.

commented

@pupnewfster Just so you know SpongeForge's devs just sent through a test build with this issue fixed (Check other ticket)

commented

I didn't test with spongeforge but I believe 10.1.2 should fix this from our end as well.

commented

That's crashing in Sponge's mixin, we only support vanilla