Search Issue Tracker
Not Reproducible
Votes
0
Found in
2019.3.0a10
Issue ID
1171146
Regression
Yes
Package Manager - NullReferenceException occurs when removing a package on the "In Project" view
If you are only viewing the packages in your project and remove one, a NullReferenceException will occur in the console:
Package Manager Window had an error while completing an operation: System.NullReferenceException: Object reference not set to an instance of an object
at UnityEditor.PackageManager.UI.Page.SetSelected (System.String packageUniqueId, System.String versionUniqueId) [0x000c7] in <5e3c867fd4cc418f8c0584e878722a23>:0
1. Open Unity
2. Open the attached project
3. Go to Window > Package Manger
4. Make sure the view is toggled to "In Project"
5. Select any package and remove it
Expected Result:
The package is removed and no errors or exceptions appear in the console.
Actual Result:
Once the package is removed, a NullReferenceException appears in the console.
Tested on Windows.
Occurs on 2019.3.0a10
Does not occur in 2019.3.0a9
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
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
- [RenderingDebugger][InputSystemPackage] Ctrl+Backspace shortcut doesn't work to open the Rendering Debugger when New Input System is in use
Resolution Note (2019.3.X):
Looks like this was fixed in 2019.3.0a11