MrTJP / ProjectRed

Redstone Engineering
MIT License
474 stars 184 forks source link

[Bug] Crash when hovering over logic gate in a blueprint with interact tool in 1.19.2 #1853

Closed IroPlisk closed 6 months ago

IroPlisk commented 6 months ago

Minecraft version

1.19.x

CodeChickenLib version

4.3.2.490

CBMultipart version

3.2.0.138

ProjectRed version

4.17.0-beta+34

What happened?

When you hover over a placed logic gate of any kind on the project table with the interact tool, the game abruptly crashes. Happens both in a server and in SP

Crash log

2024-05-09-1.log

How do you make it happen again?

1) Place IC workbench down 2) Insert Blueprint in the bench 3) Place any logic gate down 4) Select interact tool 5) Hover over any of the placed logic gates

MrTJP commented 6 months ago

Can't reproduce on a clean install with just CCL, CBM, and all Project Red mods. May be some bad interaction with another mod you installed. Could also be an incompatible texture/resource pack.

Try to remove all resource packs and mods other than the 3 above and see if it still crashes. If not, start adding stuff back until you figure out what causes it. If you can narrow it down, please re-open this issue and I can help further.

IroPlisk commented 6 months ago

It seems it was indeed a problem with a texture pack, thanks a ton. But another problem seems to have popped up, as when i click on the sides or the rotation button (or also press r) of a placed logic gate, nothing happens. i can click however on the time setting thing of a timer and rotate it. So it seems to be a general problem with logic gates with their rotation and side disabling.

IroPlisk commented 6 months ago

i also have no clue how to reopen this issue, sry.

MrTJP commented 6 months ago

I also don't have any issues with rotation with either hotkeys or clicking on the buttons on the gate. Can you also re-check this with just ProjectRed and its dependencies installed?

IroPlisk commented 6 months ago

Ok, it seems that the interaction tool crashes with programmer art ON. And for the rotation and disabling the gates, it occours only in MP, in singleplayer with or without mods works perfectly fine. Might be a desync bug or error, idk. But yeah, the mod works fine with programmer art off and SP.

MrTJP commented 6 months ago

Thanks for those details! Found and fixed the issue. Will upload a new build to Curse in a little bit.