Search Issue Tracker
Fixed in Built-In
Votes
0
Found in [Package]
Built-In
Issue ID
1407422
Regression
No
NullReferenceException is thrown when hovering with any Object over the Object Field in the UI Toolkit Samples window
How to reproduce:
1. Open the user's attached "UI Toolkit ET" project
2. Open the "Windows -> UI Toolkit -> Samples" window from the menu
3. Select the "Object Field" Sample
4. Drag the "testTexture" Texture file from the Project Browser and hover over the UXML Field
Expected result: No error is thrown
Actual result: "NullReferenceException: Object reference not set to an instance of an object" error is continuously thrown in the Console log while the dragged object is over the UXML Field
Reproducible with: 1.0.0-preview.18 (2020.3.30f1), Built-In (2021.2.14f1, 2022.1.0b10, 2022.2.0a7)
Couldn't test with: 2019.4.36f1 (UI Toolkit Package is unavailable)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- AI Assistant upgrade banner's `Open package Manager` link doesn't work
- Sub-asset UI does not refresh when undoing Renderer Feature add or remove actions in a URP Renderer asset
- Scene flickers with a green tint when using Screen Space Ambient Occlusion and Contact Shadows with raytracing
- Scripts with null Components on GameObjects are not removed when calling GameObjectUtility.RemoveMonoBehavioursWithMissingScript
- Color Curve Key values remain visible after changing Curve type
Resolution Note (fix version Built-In):
Fixed in 2022.2.0a12