X Tutup
Skip to content

Game crashes in the Editor due to a touchscreen bug #189

@mapedorr

Description

@mapedorr

Bug description

If input_devices/pointing/emulate_touch_from_mouse is true. The game crashes when clicking anywhere inside a room and shows the following error message (thanks to @Whyshchuck for the image).

image

Steps to reproduce

  1. Create a room with a walkable area.
  2. Turn on the mentioned option in the Project Settings.
  3. Run the game and click anywhere (even on a hotspot, prop or character).
  4. The game will throw a Invalid get index 'button_index' (on base: 'InputEventScreenTouch'). message.

Expected vs observed behavior

Even with this option turned on, interactions should work as expected in the Editor.

Environment information (please complete):

  • OS type and version: Windows 11
  • Godot version: 4.2.1
  • Plugin version or branch: Beta 3

Additional context

The game don't crash in exported builds of the game.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup