Search Issue Tracker

Active

Votes

0

Found in

2.0.2

2.2.0-pre.4

1.3.3

Issue ID

UUM-131350

Regression

Yes

Warnings are thrown after importing Trackpad Sample

App UI

-

Reproduction steps:
1. Create a new project
2. Install App UI Package via Package Manager or AI button in the top Editor toolbar
3. Window > Package Management > Package Manager > App UI > Samples
4. Import Trackpad Sample and observe the Console

Actual result: 
{code:java}
Assets/Samples/App UI/2.1.3/Trackpad/Scripts/TrackpadSample.cs(49,13): warning CS0618: 'VisualElement.transform' is obsolete: 'When writing the value, use VisualElement.style.translate, VisualElement.style.rotate or VisualElement.style.scale instead. When reading the value, use VisualElement.resolvedStyle.translate, scale and rotate' {code}
warnings are thrown
Expected result: No warnings or errors are thrown

Reproducible with: 2.1.1 (6000.5.0a4), 2.1.3 (6000.2.0a7, 6000.3.3f1, 6000.4.0b3, 6000.5.0a4)
Not reproducible with: 2.1.3 (6000.0.65f1, 6000.2.0a6)

Reproduced on: macOS Tahoe 26.2 (M4)

Notes:

  • FAV is in the Editor version
  • If package doesn't show up in the Package Manager, install it by name: com.unity.dt.app-ui

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.