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

False errors about variables

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.20.51 Hotfix
    • None
    • Unconfirmed
    • Windows

      If you create a variable in an animation and then refer to it, a false error about an unknown variable is generated in the log.

      Steps to Reproduce:

      1. Create an Animation Controller that uses a Molang variable.
      2. Create a second Animation Controller that references the created variable.
      3. Connect Animation Controllers to Players.

      Observed Results:
      When connecting to the world, an error appears in the logs (Error: unhandled request for an unknown variable ...). However, it's important to note that this error does not affect the functionality of the code, and it still works correctly.

      Expected Results:
      The error should not appear since the variable exists.

      Example Code:
      animation_controllers.json

        1. screenshot.png
          screenshot.png
          1.65 MB
        2. animation_controllers.json
          0.7 kB
        3. addon.zip
          2 kB

            Cken Dima Sever
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: