mojira.dev
MCPE-184728

Null pointer dereference (game crash) when rendering custom block

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:

  1. Import and enable the pack in a world

  2. 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

[media][media][media]

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

migrated

(Unassigned)

1275306

Confirmed

Multiple

1.21.2 Hotfix

1.21.30.24 Preview, 1.21.30

Retrieved