Search Issue Tracker

Active

Votes

0

Found in

2.2.0-pre.7

Issue ID

UUM-138492

Regression

No

A warning is thrown when binding to "ActionButton.clickable"

App UI

-

How to reproduce:

  1. Open the attached project “IN-117945”
  2. Open the “OutdoorsScene”
  3. In the Project window, open the “Assets/TestView” Visual Tree Asset
  4. Observe the Console

Actual result: “Could not set value for target of type 'ActionButton' at path 'clickable.command': the path is either invalid or contains a null value.” warning is thrown
Expected result: The “ActionButton” warning is not thrown

Reproducible with: 1.0.3 (6000.0.0b11), 2.2.0-pre.7 (6000.6.0a2)

Workaround: Moving the package to the “Packages” folder and adding “[CreateProperty]” above “public Pressable clickable” in the “com.unity.dt.app-ui\Runtime\UI\Components\ActionButton.cs” file

Reproducible on: Windows 11
Not reproducible on: No other environments tested

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.