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

q.is_in_ui returns 0.0 in NPC dialogue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.20.21 Preview
    • None
    • Confirmed
    • Windows
    • 1076269

      The bug

      The q.is_in_ui query returns 0 when rendering the preview of an NPC in the dialog

      How to reproduce

      1. Download and open the attached world. It sets NPC scale to q.is_in_ui ? 3 : 0.5, meaning they should be 3x bigger in the UI, and 0.5x smaller in the world.
      2. Talk to the NPC

      Expected result
      The preview should be very large

      Observed result
      It's small

      Notes
      The main reason this is a problem is not for scaling, but for playing specific animations in that window.

            tryashtar [Mod] tryashtar
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: