Search Issue Tracker

Fixed in Core-dev

Votes

0

Found in

Core-1.0.1

Issue ID

UUM-136461

Regression

No

Selecting no image for Account Picture in Play Mode Controls window throws “Could not set value for target of type 'List`1' at path '[0].Picture’” warning in the Console

Platform Toolkit - Core

-

Steps to reproduce:
1. Create new Unity project
2. Install Platform Toolkit package via Package Manager window
3. Open Play Mode Controls window (Window > Platform Toolkit > Play Mode Controls)
4. Add Play Mode Controls Settings
5. Go to Test Account Data
6. In “Test User 1” > Picture click on Pick button
7. In “Select Texture 2D” window select “None”
8. Observe the Console window

Actual results:  ”[UI Toolkit] Could not set value for target of type 'List`1' at path '[0].Picture': could not convert from 'null (Object)' to 'Texture2D'. (PlayModeControlsWindow)
UnityEditor.RetainedMode:UpdateSchedulers () (at /Users/bokken/build/output/unity/unity/Modules/UIElementsEditor/RetainedMode.cs:43)” warning is thrown in the Console window
Expected results: No warnings are thrown in the Console window, “None (Texture 2D)” should be set in Object selection field

Reproducible with versions: 1.0.0 (6000.3.11f1, 6000.4.0b11, 6000.5.0a8
Can’t test with versions: 6000.0.70f1 (Package is not supported)

Tested on (OS): macOS Silicon Tahoe 26.3 (M1) 

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.