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).
Steps to reproduce
Create a room with a walkable area.
Turn on the mentioned option in the Project Settings.
Run the game and click anywhere (even on a hotspot, prop or character).
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.
Bug description
If
input_devices/pointing/emulate_touch_from_mouse
istrue
. The game crashes when clicking anywhere inside a room and shows the following error message (thanks to @Whyshchuck for the image).Steps to reproduce
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):
Additional context
The game don't crash in exported builds of the game.