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
- Referred style sheet stays dirty after saving when using the UIBuilder
- The Height map Amplitude is not working when using HDRP/LayeredLit
- Crash on internalABP::BoxManager::prepareData when entering Play Mode
- Crash at "UnityEngine.Object:FindObjectsOfType" when quitting the Player
- Creating material variant produces errors if there is no Materials folder
Resolution Note (fix version Built-In):
Fixed in 2022.2.0a12