Search Issue Tracker
Not Reproducible
Votes
0
Found in
5.3.0b4
Issue ID
740605
Regression
Yes
NullReferenceException when trying to deselect asset in Package Export window
- Select all assets in the attached project
- Right click on the selection and choose Export Package
- Use Shift+Click to select the first few assets (example: http://i.imgur.com/dfoY13K.png)
- Click on the checkmark for the first item (Bomb_Small.fbx)
Notice the following error in the Console:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.PackageExportTreeView.ItemWasToggled (UnityEditor.PackageExportTreeViewItem pitem) (at C:/buildslave/unity/build/Editor/Mono/GUI/PackageExportTreeView.cs:186)
UnityEditor.PackageExportTreeView+PackageExportTreeViewGUI.DoToggle (UnityEditor.PackageExportTreeViewItem pitem, Rect toggleRect) (at C:/buildslave/unity/build/Editor/Mono/GUI/PackageExportTreeView.cs:310)
UnityEditor.PackageExportTreeView+PackageExportTreeViewGUI.OnRowGUI (Rect rowRect, UnityEditor.TreeViewItem tvItem, Int32 row, Boolean selected, Boolean focused) (at C:/buildslave/unity/build/Editor/Mono/GUI/PackageExportTreeView.cs:270)
UnityEditor.TreeView.DoItemGUI (UnityEditor.TreeViewItem item, Int32 row, Single rowWidth, Boolean hasFocus) (at C:/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeView.cs:431)
UnityEditor.TreeView.IterateVisibleItems (Int32 firstRow, Int32 numVisibleRows, Single rowWidth, Boolean hasFocus) (at C:/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeView.cs:568)
UnityEditor.TreeView.OnGUI (Rect rect, Int32 keyboardControlID) (at C:/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeView.cs:504)
UnityEditor.PackageExportTreeView.OnGUI (Rect rect) (at C:/buildslave/unity/build/Editor/Mono/GUI/PackageExportTreeView.cs:147)
UnityEditor.PackageExport.TreeViewArea (Boolean showLoadingScreen) (at C:/buildslave/unity/build/Editor/Mono/GUI/PackageExport.cs:211)
UnityEditor.PackageExport.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/GUI/PackageExport.cs:132)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:187)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:180)
UnityEditor.HostView.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:76)
Deselecting multiple assets isn't working anymore because of this.
Regression from Unity 5.3.0b3 (b6181bece87a)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Add comment