Search Issue Tracker
Fixed
Votes
0
Found in
2021.3.28f1
Issue ID
UUM-43082
Regression
Yes
NullReferenceException and Assertion failed thrown when clicking on ListView UI in Play Mode
How to reproduce:
1. Open the “TestProject.zip“
2. Open the “SampleScene“ scene
3. Enter Play Mode
4. Click on the orange line in the GameView
5. Observe the console
Expected result: No errors are seen
Actual result: “Assertion failed“ and “NullReferenceException“ errors are seen
Reproducible with: 2021.3.8f1, 2021.3.28f1
Not reproducible with: 2021.3.7f1, 2022.3.5f1, 2023.1.5f1, 2023.2.0b1
Reproducible on: Windows 10
Errors:
Assertion failed
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.UIElements.BaseVerticalCollectionView.ExecuteDefaultAction (UnityEngine.UIElements.EventBase evt) (at <1aaa12d3c5d64d42836d89caff78b60b>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <1aaa12d3c5d64d42836d89caff78b60b>:0)
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
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-33898