Search Issue Tracker

Fixed

Fixed in 2023.2.0b18, 2023.3.0a5

Votes

0

Found in

2023.2.0b2

2023.3.0a1

Issue ID

UUM-43595

Regression

Yes

UI Toolkit mouse events do not trigger when UI Builder is open

--

-

Reproduction steps:
1. Open the “UIEventProject_Stripped” project
2. Open the “MainMenu“ scene
3. Enter the Play Mode
4. Hover the mouse over the “START” button and click it
5. Observe the Console

Expected result: The button background image tints on `MouseEnter`, and “StartGame” is logged on `clicked`
Actual result: Neither `MouseEnter` nor `clicked` is triggered

Reproduced in: 2023.2.0a19, 2023.2.0b2
Not reproduced in: 2021.3.29f1, 2022.3.6f1, 2023.1.6f1, 2023.2.0a18

Reproduced on: macOS 13.4.1 (c) (Intel), Windows 11

Notes:
1. Not reproduced in Player
2. Not reproduced if UI Builder is closed
3. In reproduced versions, no matter whether UI Builder is open, “UnityException: CreateScriptableObjectInstanceFromType can only be called from the main thread” (full error in internal notes) is logged 3 times every time the scene is opened or Play Mode is entered/exited

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.