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

q.is_in_ui returns 0.0 in the main menu and pause menu for the player actor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.40.21 Preview, 1.21.23 Hotfix
    • None
    • Community Consensus
    • Windows

      The molang query "q.is_in_ui" returns 0.0 instead of 1.0 when accessed on the player actor in the pause menu and in the main menu.

      Steps to reproduce:

      1. Import the attached resource pack. It sets the player scale to 0.2 when q.is_in_ui returns 0.0, else it sets the scale to 3.
      2. Open the main menu: the player actor on the right will be small (q.is_in_ui = false, but the actor is in the ui)
      3. Open a world and open the pause menu: the player actor on the right will be small (q.is_in_ui = false, but the actor is in the ui)
      4. Open the inventory or look at the paperdoll in the top left corner of the screen: the player actor will be big (q.is_in_ui = true: the resource pack works)

        1. q.is_in_ui-bug-4_1.png
          q.is_in_ui-bug-4_1.png
          120 kB
        2. q.is_in_ui-bug-3_1.png
          q.is_in_ui-bug-3_1.png
          169 kB
        3. q.is_in_ui-bug-2_1.png
          q.is_in_ui-bug-2_1.png
          101 kB
        4. q.is_in_ui-bug-1_1.png
          q.is_in_ui-bug-1_1.png
          271 kB
        5. q.is_in_ui-bug.mcpack
          262 kB

            PeppeGari PeppeGari
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: