Search Issue Tracker

Active

Votes

0

Found in

6000.0.3f1

Issue ID

UUM-73224

Regression

Yes

[Mobile]UIElement calls PointerOutEvent after PointerOverEvent when the transform of an element is altered

--

-

Reproduction steps:
1. Open the attached “My project” project
2. Open the “Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. In the Simulator View, press and move the cursor to the red square and out of it
5. Observe the red square

Expected result: The square turns larger and blue once the cursor touches it and snaps back when it is no longer touching it
Actual result: The square turns larger and blue and snaps back at the same time the cursor touches it

Reproducible with: 2023.2.11f1, 6000.0.3f1
Not reproducible with: 2021.3.39f1, 2022.3.31f1, 2023.2.10f1

Reproducible environment: MacOS Sonoma 14.5 (Intel), Windows 11 (user’s)
Not reproducible environment: No other environment tested

Reproducible on:
MacOS Buildtime (Simulator View (Google Pixel 5, Apple iPad Mini 4))

Not reproducible on:
MacOS Buildtime (Game View)

Could not test on:
Standalone, Android Runtime (“UnityEditor.Build.BuildFailedException: Burst compiler failed running” build error)

Workaround: Removing the “scale: 2 2" in the Style.cs asset

Notes:
- In the Console Window the “OnPointerOver” and “OnPointerOut” are logged simultaneously when the issue occurs
- The user stated that the issue reproduces on Android runtime as well

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.