Portable Drill for Create: Stuff & Additions crashes when Shift Clicking
Context
Steps to reproduce:
- Craft a Portable Drill.
- Shift to display more information about said item.
- If you do not crash, then enchant it with Digging and try again.
Crash Report
https://mclo.gs/D1Y6CZB
I want to reiterate, this is a very critical bug because it completely makes the character model invisible, cursor and among other funky broken things. My bed also ended up becoming invisible, but I can still sleep on it. Functionally, everything works as long as you don't shift to display information about the item to cause the crash. But character not rendering, cursor not rendering, some blocks like bed not rendering, it is quite critical.
Enchant Icon seems to be unconditionally swapping the item model for any (maybe only enchanted?) items when its hotkey is pressed. (Also shift apparently).
Create logically assumes that the model for an item using CustomRenderedItemModelRenderer is in fact a CustomRenderedItemModel. Checking whether that assumptions holds might be possible but I’m not sure if there is a sensible default in that case.
Edit: I don’t see how the other stuff is related, either the game crashes and you cannot play on without restarting, or you’re using not enough crashes and that is not guaranteed to leave the game in a proper state to continue playing.
Enchant Iconseems to be unconditionally swapping the item model for any (maybe only enchanted?) items when its hotkey is pressed. (Also shift apparently).Create logically assumes that the model for an item using CustomRenderedItemModelRenderer is in fact a CustomRenderedItemModel. Checking whether that assumptions holds might be possible but I’m not sure if there is a sensible default in that case.
Edit: I don’t see how the other stuff is related, either the game crashes and you cannot play on without restarting, or you’re using not enough crashes and that is not guaranteed to leave the game in a proper state to continue playing.
I talked with someone else and they said about the same thing as you:
It refers to the enchantment - the "enchanticon" is causing some kind of rendering issue So maybe an issue/conflict with Embeddium/Oculus FancyMenu is mentioned, too
I'll be removing EnchantIcon and then test, and if I still crash I'll go ahead and test removing FancyMenu as well. But I think you're both on the right track, enchanticon might be the cause issue here. Will post an update soon.
It was in fact EnchantIcon causing the issue
EnchantIcon would need to fix this