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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Package signature validation unexpectedly return an invalid signature status if the validation check is done after the code signing certificate validaty range has passed
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
Add comment