Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2020.2.0a5
Issue ID
1230498
Regression
Yes
[2D] "Package Manager" window turns black along with NullReferenceException when it is docked and hit play
When "Package Manager" window is docked in the editor and entered in play mode, Package Manager window turns black and NullReferenceException is thrown in the console also Even if you close the packman window and reopen it would throw errors and a black screen, refer attached video.
Steps to Reproduce:
1. Create a New Project with 2D Template
2. Window > Package Manager > Docked
3. Hit play
Actual Result:
NullReferenceException is thrown and "Package Manager" window turns black
Expected:
Editor enters in play mode gracefully
Workaround: Reimport project
Reproducible on:
2020.2.0a5
Working fine on:
2020.2.0a4, 2020.1.0b3
Package Found version: 4.2.1, 4.1.0, 3.0.8, 3.0.5, 3.0.2
Environment:
Windows 10 and macOS 10.14
Stack trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.PackageManager.UI.Sample.get_size () (at <89faf899e9c14826b38ffd64a0c1974d>:0)
UnityEditor.PackageManager.UI.PackageSampleItem..ctor (UnityEditor.PackageManager.UI.IPackageVersion version, UnityEditor.PackageManager.UI.Sample sample) (at <89faf899e9c14826b38ffd64a0c1974d>:0)
UnityEditor.PackageManager.UI.PackageSampleList.SetPackageVersion (UnityEditor.PackageManager.UI.IPackageVersion version) (at <89faf899e9c14826b38ffd64a0c1974d>:0)
UnityEditor.PackageManager.UI.PackageDetails.SetDisplayVersion (UnityEditor.PackageManager.UI.IPackageVersion version) (at <89faf899e9c14826b38ffd64a0c1974d>:0)
UnityEditor.PackageManager.UI.PackageDetails.SetPackage (UnityEditor.PackageManager.UI.IPackage package, UnityEditor.PackageManager.UI.IPackageVersion version) (at <89faf899e9c14826b38ffd64a0c1974d>:0)
UnityEditor.PackageManager.UI.PackageDetails.OnSelectionChanged (UnityEditor.PackageManager.UI.IPackageVersion version) (at <89faf899e9c14826b38ffd64a0c1974d>:0)
UnityEditor.PackageManager.UI.PackageDetails.OnEnable () (at <89faf899e9c14826b38ffd64a0c1974d>:0)
UnityEditor.PackageManager.UI.PackageManagerWindow.OnEnable () (at <89faf899e9c14826b38ffd64a0c1974d>:0)
UnityEditor.PackageManager.UI.Window:ShowPackageManagerWindow(MenuCommand)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment