Holding UI Toolkit Button During Screen Change Causes New Scene Buttons to Stop Receiving Inputs

Hello,

I am currently working on a Unity project that utilizes both UI Toolkit and some UGUI elements. The project is configured to use both the old and new input systems.

Due to the mixed UI elements across different scenes, we are adding an EventSystem with an Input System UI Input Module to each scene. However, we are experiencing an issue where UI Toolkit elements (such as buttons) in a freshly loaded scene stop receiving inputs under certain conditions.

Issue Description

  • When we are in a scene with UI Toolkit buttons and hold down a button while transitioning to another scene, the newly loaded scene’s UI Toolkit buttons do not respond to clicks or touch inputs.
  • Conversely, if we do not hold down any button while changing scenes, the elements in the new scene function as expected.

Questions

  • Is this behavior expected?
  • Are we possibly misconfiguring our setup?
  • Are there any known workarounds for this issue?

Reproduction Steps

I have attached a reproduction project that includes two scenes:
ReproProject.zip (1.7 MB)

  1. Scene1: Contains a script that loads Scene2 after a 2-second delay.
  2. Scene2: Contains the UI Toolkit buttons that exhibit the issue.

To reproduce the problem:

  1. In Scene1, click and hold any button.
  2. Wait for Scene2 to become active before releasing the button.
  3. Attempt to click the button in Scene2, which will not respond.

Thank you for your assistance!

Hi,
Could you please file a bug report Unity QA: Building quality with passion