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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment