HT's TreeChop

HT's TreeChop

3M Downloads

Client Side render crash

pokesmells opened this issue ยท 16 comments

commented

crash-2022-11-08_13.28.15-client.txt

When going to the area with the chopped log, it crashes the game :(

commented

Hey Poke, sorry about that! I'll look into this asap.

commented

Figured I'd drop by to say I'm getting an extremely similar error on a server I'm running. I narrowed it down to happening whenever TreeChop tries to work with bamboo that has natural leaves attached, so #126 would help a lot here too.

I've attached one of my crash logs as well, but in the meantime for anyone coming here off Google, you can at least fix the block in question by doing /setblock [position] minecraft:air to replace the block causing the crash. You can get the position off the crash report, and if you're hosting a server but crash as soon as you log in, remember that you can run the command from the console. If it complains the position isn't loaded, then try running the command in the brief time after joining the server but before your client loads the chunks.

crash-2022-11-13_21.09.24-client.txt

commented

Thanks for the info! I probably would not have figured that out. I'll prioritize #126 after dealing with this, it definitely could help in these situations.

commented

Hey @LukeZaz, I think I know what the issue is, so no need for now. I should be able confirm whether or not it's fixed using Poke's save files. Thanks though!

commented

Unfortunately the modpack we're using is a custom one and it's a bit too big to attach to a Github comment. I'll try and narrow down the issue a bit more based on mods and I'll report back once I know more. Shouldn't be long!

commented

Too bad, I tested anyways! I got too curious, haha. Anyway, in the event it helps any, I found out the problem goes away once I removed William Wythers' Overhauled Overworld. Even if the world wasn't generated using it, having it enabled causes the bamboo breaking to crash the game.

commented

I haven't been able to reproduce the crash using just sodium + treechop. @LukeZaz is there a modpack for your server that I could try?

commented

https://www.curseforge.com/minecraft/modpacks/a-little-bit-of-everything-fabric

This is my modpack which I had your mod on but took off due to the issues

commented

If you'd like, since we're having similar issues, I can send a zip with my server specific files as well! :)

commented

That would be great! Could you also tell me the coordinates of the area where the crash happens?

commented

Ha, there it is. That mod adds the "log" tag to bamboo. I was wondering which mod did that, it makes TreeChop activate on bamboo.

Since you're all sorts of curious - the root of the crash is that TreeChop uses the texture of the original log (or its stripped version) when drawing chopped logs. Bamboo blocks use a weird shape, so TreeChop fails to get the texture, and the game crashes.

commented

https://drive.google.com/file/d/1L9OOMMCp-K0b-Hntu9OjJ8FGhSyntzPD/view?usp=sharing

This is the mod pack for the server only, so it only works when loading a server

commented

THESE were the exact coods (-7,64,-21)
but I didn't have an issue with bamboo so dunno
maybe because it was modded wood but it didn't look odd so I wouldn't know

commented

Run the zip through virus total just in case you wanna test the legitimacy :o

commented

Sorry for the wait! This should all be fixed in 0.17.0 for minecraft 1.19.2. I'll port the fix to 1.18.2 as soon as I can

commented

Ported to 1.18.2, closing