Mekanism Additions

Mekanism Additions

21M Downloads

Crash Ticking block entity

TheRealDadbeard opened this issue ยท 11 comments

commented

Please use the search functionality before reporting an issue. Also take a look at the closed issues!

Issue description:

This is on a server where other people play and after going to a certain location where many Mekanism machines are I'm getting a crash

Steps to reproduce:

Just crashing when going near this place. Stuck there now hmm :/ Logs will help

Version (make sure you are on the latest version before reporting):

Forge:2795
Mekanism:9.7.0.369
Other relevant version:

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

https://paste.dimdev.org/yocirugayi.mccrash

https://paste.dimdev.org/tebiviqewa.mccrash

commented

ive had this happen to me sometimes when switching worlds in SP. its the steam turbine causing the issue but cannot seem to reproduce it

commented

Don't have my IDE open right now but I believe it is because of it using the render location https://github.com/mekanism-mod/Mekanism/blob/1.12/src/main/java/mekanism/common/tile/TileEntityMultiblock.java#L82 which I will need to check may not exist on the server side.

commented

after downgrading to the one before everything is fine

commented

ok i was able to reproduce it. have a steam turbine and steam boiler setup and running, close out world and then try to reenter world ( at this point the game crashes).

commented

@Trixz2018 have you got that reproduction in a test word with just the turbine/boiler?

The turbine/boiler I have set up in my test environment don't seem to have this problem :|

commented

@thiakil it wasnt in my test server, it was in my SP play world. Considering i kno nothing about java or modding in minecraft, would the multiblock being in different chunks cause this issue?

commented

It's certainly possible. I've added a check for the NullPointer, but without beng able to reproduce it, its uncertain whether it does what we want (past stopping a crash)

Btw, doesnt matter server/client for the purposes of sending a save folder, as long as we know which is was for ;)

commented

alright ill try an figure out how to compile a jar and see if your fix worked

commented
commented

I think this is probably the same bug: I just tried to make a Turbine multiblock in a singleplayer world, once it was completed and the red particles appeared I immediately got a ticking block entity crash and now can't load that world. I do have a bunch of other mods, but I doubt they're causing it - I can try without if it helps? Crash report at https://termbin.com/jxz2

commented

Wait, looking at source code and commits I just realized my issue was actually fixed a few days ago in 65ed1cf. Sorry!