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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment