1.19.2 Voxel shape crash from Tiny Redstone in a Create Clockwork modpack.
Wazzah555 opened this issue ยท 7 comments
I was using Minecraft Create Clockwork, a mod that allows for free physics vehicles, along with tiny redstone. I designed a tiny HUD display that would change based on redstone signals derived from the rotor. I initially made a very simple prototype that had no issues. However, when I fleshed out the helicopter design, and made a full body, suddenly for no apparent reason the voxel shape crashing issue surfaced. Whenever the states within the HUD circuitry were affected the game would immediately freeze and then crash. The same crash report would then come up detailing a create/ voxel shape issue. I really hope there's some way around this, as I have a lot of hours into this project and I'd hate to have all that effort be wasted.
Here is a video of the protoype project, which was completely fine. https://youtu.be/_t-mHWmXGmw
Here's the crash report: crash-2024-04-22_17.17.23-client.txt
@Wazzah555 Sorry, it took longer for me to get to this than expected, but it should be fixed now. If you could verify in #133 whether the updated fixes the issue for you, it would be appreciated.
Thank you so much! Really appreciate your support of the mod. I'll give it a test and let you know if it worked. Where can I access the updated mod?
Ah ok. That's a new crash, but also related to concurrent calling of the function to redraw voxel shapes. It's likely an extremely rare race condition that would cause that. However, I am going to make sure that function is fully thread safe to prevent any future issues.
Hi, sorry for the late follow up. Hope you are doing well. I wanted to test for a while before I responded. Thanks again for taking the time to address my voxel shape issue. The fix definitely worked, voxel shape crashes barely happen at all, though the issue seems to not be totally gone. One thing to note, It hasn't really occurred since I deleted the redstone that was originally causing the crash. Attached is one of the crash reports I got after updating to the hotfix.
crash-2024-05-06_00.03.27-client.txt
Here's a quick showcase of the tiny redstone HUD I was to setting up to fly a create clockwork helicopter.
https://www.youtube.com/watch?v=aO3x08hF2kA