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
- Player crash when switching focus in Exclusive Fullscreen mode with DirectX 12
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-33898