Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-184728

Null pointer dereference (game crash) when rendering custom block

XMLWordPrintable

    • Confirmed
    • Multiple
    • 1275306

      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.

        1. resource.zip
          1 kB
        2. NVIDIA_Share_xNIA5uZZfo.mp4
          4.91 MB
        3. behaviour.zip
          0.8 kB

            DuckosM0ds DuckosM0ds
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: