The game performs a null pointer dereference when attempting to render the custom block not found.
I have attached the add-on that causes this crash along with a video to showcase it and the null pointer dereference error.
I have tracked this crash down to be in the BlockGraphics::getTextureCarriedVariations function.
Steps to reproduce:
Import and enable the pack in a world
Run
/give @s custom:block
Observed result:
The crash happens the second the game renders a block.
Expected result:
The game does not crash.
Attachments
Comments 2
The attached .mcpack file seems to be an invalid zip file. I cannot manually extract it, nor can I import the file into Minecraft. Please attach a working file to this report.
This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki