Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
6000.0.67f1
6000.3.8f1
6000.4.0b8
6000.5.0a6
Issue ID
UUM-134627
Regression
No
UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
How to reproduce:
1. Open the attached “IN-133603_RuntimeBindingError.zip” project
2. Open the “SampleScene” scene
3. Enter Play Mode
4. Select the “DataBindingSource” GameObject
5. In the Game View select an input that is not labeled “objectRef”
6. Delete the text and press Enter/Return
7. Observe the Console and Inspector windows
Actual result: A “Could not set value for target” warning is thrown and the reference is not cleared in the Inspector
Expected result: No warning is thrown and reference is cleared
Reproducible with: 2023.2.0a18, 6000.0.67f1, 6000.3.8f1, 6000.4.0b8, 6000.5.0a6
Could not test with: 2023.2.0a17 (No definitions on a lot of the methods)
Reproducible on: MacOS Sequoia 15.7.3 (M1 Max)
Not reproducible on: No other environments tested
Note: Warning: [UI Toolkit] Could not set value for target of type 'Data' at path 'gameObjectRef': could not convert from 'null (Object)' to 'GameObject'. (PanelSettings)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
Add comment