Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2020.2.0a5
Issue ID
1230597
Regression
Yes
[PackageManager] NullReferenceException thrown on selecting package Manifest of TextMeshPro
NullReferenceException thrown on selecting package Manifest of TextMeshPro. Exceptions are coming on selecting other packages also after selecting TextMeshPro package Manifest file
Steps to Repro:
1. Open a new Project
2. Select Window > PackageManager > Sort : Publish date
3. Select Assets > Packages > TextMeshPro > package Manifest
Expected Result:
No error in the Console
Actual Result:
NullReferenceException thrown on selecting package Manifest of TextMeshPro
Reproducible on: 2020.2.0a5
Working fine on: 2020.2.0a4, 2020.1.0b3, 2019.3.6f1
Environment: Windows 10 and Mac 10.14
Stack Trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.PackageManager.PackageManifestImporterEditor.DrawDependencyListElement (UnityEngine.Rect rect, System.Int32 index, System.Boolean isActive, System.Boolean isFocused) (at <89faf899e9c14826b38ffd64a0c1974d>:0)
UnityEditorInternal.ReorderableList.DoListElements (UnityEngine.Rect listRect) (at <89faf899e9c14826b38ffd64a0c1974d>:0)
UnityEditorInternal.ReorderableList.DoLayoutList () (at <89faf899e9c14826b38ffd64a0c1974d>:0)
UnityEditor.PackageManager.PackageManifestImporterEditor.OnInspectorGUI () (at <89faf899e9c14826b38ffd64a0c1974d>:0)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass58_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <89faf899e9c14826b38ffd64a0c1974d>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
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
- Assigned font's bold/font-weight styles render using Default Font's assets when Default Font has corresponding style assets defined in TMP Settings
- "Modifying the parent of a VisualElement while it’s already being modified is not allowed" error is thrown when entering text and pressing tab in the Search window
- Mesh colliders are not updating their positions of bounds correctly
- Images are missing from the "Open the sprite editor" documentation for 6.0, 6.1 and 6.2
- The previous element in the array is modified when assigning an Asset to a new element of AssetReferenceT
Resolution Note (fix version 2020.2):
Package Manager: Fix null error exception and organisation name validation