Environment: Windows 11, Unity 6000.3.25f1, unity CLI 1.2.0-alpha.1, com.unity.pipeline 1.2.0-pre.1, Git Bash. Also seen on CLI 1.0.0-beta.17 with com.unity.pipeline 1.0.1.
Steps
- In a project that uses the Input System package only, open a scene with a UIDocument holding a Button, and no EventSystem.
- unity command editor.playmode start.
- unity command runtime simulate_pointer --x <button x> --y <button y> --action click.
Actual
Exit 0 and a success result. The button receives no pointer event. The same exit 0 is returned when the click lands where no element is.
Expected
The result reports the element that received the event, and the command fails when none did. When the scene has no EventSystem or input module, the result warns, as the key-focus warning does for simulate_key.