[BUG/Feature Request] OptiGui 3.0 crashing on Forge 1.20.1 with sinytra
nolyolyy opened this issue · 1 comments
Expected Behavior
When using Forge 1.20.1, and sinytra connector, opening a GUI that uses the new json format causes the game to crash. Everything works perfectly fine on Fabric 1.20 and 1.21, as well as neoforge 1.21 through sinytra, and the previous OptiGui version 2.3 works perfectly on 1.20.1 forge.
Actual Behavior
When using an edited version of Colourful Containers and my modded addon, opening any of the json UIs instantly crashes
Steps To Reproduce
1.Download OptiGui 3.0 and its dependencies for 1.20.1, as well as sinytra connector
2. Download this edited CC for 3.0
CC-OptiGUI-fix.zip
3. Activate the resource pack, open a crafting table as a test, then open an ender chest or a colored shulker box
4. crash
Loader and its version
Forge loader 47.4.0
OptiGUI version
OptiGui 3.0.0 Alpha Fabric 1.20
Behavior difference
- OptiGUI documentation
- OptiFine
- Something you logically expect from OptiGUI
- Doesn't work at all
Anything else
I’m just putting this here in hopes that it’s a possible fix, as i mentioned i have a modded Addon for colourful containers and there’s many things i could fix and cool things i could add with these new features, and while they work great on 1.21+, most modpacks that i have support for are 1.20.1 forge and the straight crashing is never good, considering it worked great before. I really appreciate what you do with this mod and it would be extremely appreciated if there was a fix!
Thanks for taking your time to write a detailed bug report.
This seems to be the same mixin issue as on Lunar client (#121). Good news is, I changed the problematic code (for an unrelated reason), and the new code doesn't crash.