Search Issue Tracker

Fixed

Fixed in 2021.3.28f1, 2022.3.3f1, 2023.1.2f1, 2023.2.0a21

Votes

0

Found in

2021.3.27f1

2022.3.1f1

2023.1.0b20

2023.2.0a20

Issue ID

UUM-39890

Regression

No

NullReferenceException manually installing UI Builder package from Package Manager window

-

h5. Description

Manually installing *com.unity.ui.builder* from Package Manager UI leads to {*}NullReferenceException{*}.
h5. Repo Steps
# Open Window > Package Manager
# Click the "+" 
# Choose "Install package by name" 
# Type "com.unity.ui.builder"
# Click Install
# Observe console 

h5. Actual Result
{code:java}
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.PackageManager.UI.Internal.UpmCache.AddExtraPackageInfo (UnityEditor.PackageManager.PackageInfo packageInfo) (at /Users/hugues.bonin/unity_trunk/Modules/PackageManagerUI/Editor/Services/Upm/UpmCache.cs:135)
UnityEditor.PackageManager.UI.Internal.UpmClient.OnProcessExtraFetchResult (UnityEditor.PackageManager.Requests.SearchRequest request, System.Int64 productId) (at /Users/hugues.bonin/unity_trunk/Modules/PackageManagerUI/Editor/Services/Upm/UpmClient.cs:448)
UnityEditor.PackageManager.UI.Internal.UpmClient+<>c__DisplayClass77_0.<ExtraFetchPackageInfo>b__0 (UnityEditor.PackageManager.Requests.SearchRequest request) (at /Users/hugues.bonin/unity_trunk/Modules/PackageManagerUI/Editor/Services/Upm/UpmClient.cs:411)
UnityEditor.PackageManager.UI.Internal.UpmBaseOperation`1[T].OnSuccess () (at /Users/hugues.bonin/unity_trunk/Modules/PackageManagerUI/Editor/Services/Upm/UpmBaseOperation.cs:183)
UnityEditor.PackageManager.UI.Internal.UpmBaseOperation`1[T].Progress () (at /Users/hugues.bonin/unity_trunk/Modules/PackageManagerUI/Editor/Services/Upm/UpmBaseOperation.cs:145)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /Users/hugues.bonin/unity_trunk/Editor/Mono/EditorApplication.cs:362)
{code}
h5. Environment
* Reproducible with: 2021.3.22f1, 2022.2.13f1, 2023.1.0b10, 2023.2.0a8
* Not Reproducible with 2020.3.46f1 as functionality doesn't exist 
* Platforms tested: Win 11, MacOS Monterey, Version 12.6.2

Add comment

Log in to post comment