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

Wrong content log error when particle "half_dimensions" field is missing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.20.22 Preview
    • None
    • Confirmed
    • Multiple
    • 1269746

      The bug

      When a particle definition uses the emitter_shape_box component without the required half_dimensions field, the error message wrongly says that it's missing the offset field instead.

      How to reproduce

      1. Enable the content log
      2. Download and open the attached world
      3. Observe the error message:

      [Effects][error]-particles/missing_half_dim.particle.json | ParticleEffect::_extractComponents | minecraft:emitter_shape_box | EmitterShapeBoxComponent | offset field required!
      

            tryashtar [Mod] tryashtar
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: