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

Game crashes when function executes command with duplicate arguments in selector

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.16.0.60 Beta, 1.15.0.55 Beta, 1.14.30 Hotfix
    • Fix Version/s: 1.16.0.63 Beta
    • Labels:
    • Confirmation Status:
      Confirmed
    • Platform:
      Windows 10 - PC
    • ADO:
      301085

      Description

      The bug

      When a function tries to execute a command with a selector that has duplicate arguments, the game crashes. Example:

      say @e[type=cow,type=pig]
      

      How to reproduce

      1. Download and open the attached world
      2. Press the button
      Game crashes

      Expected behavior

      The command should simply be skipped. This is what happens with all other malformed commands in bedrock functions.

      Tested Platforms

      • Windows 10
      • Android OnePlus 5

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              CHK: