{"action":"created","issue":{"url":"https://api.github.com/repos/jacobdufault/fullinspector/issues/111","labels_url":"https://api.github.com/repos/jacobdufault/fullinspector/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/jacobdufault/fullinspector/issues/111/comments","events_url":"https://api.github.com/repos/jacobdufault/fullinspector/issues/111/events","html_url":"https://github.com/jacobdufault/fullinspector/issues/111","id":60069762,"number":111,"title":"Cannot show list of any type in Unity 5","user":{"login":"YinXiaozhou","id":3391696,"avatar_url":"https://avatars.githubusercontent.com/u/3391696?v=3","gravatar_id":"","url":"https://api.github.com/users/YinXiaozhou","html_url":"https://github.com/YinXiaozhou","followers_url":"https://api.github.com/users/YinXiaozhou/followers","following_url":"https://api.github.com/users/YinXiaozhou/following{/other_user}","gists_url":"https://api.github.com/users/YinXiaozhou/gists{/gist_id}","starred_url":"https://api.github.com/users/YinXiaozhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YinXiaozhou/subscriptions","organizations_url":"https://api.github.com/users/YinXiaozhou/orgs","repos_url":"https://api.github.com/users/YinXiaozhou/repos","events_url":"https://api.github.com/users/YinXiaozhou/events{/privacy}","received_events_url":"https://api.github.com/users/YinXiaozhou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-06T07:42:46Z","updated_at":"2015-03-06T17:33:31Z","closed_at":"2015-03-06T17:33:31Z","body":"My FI version is 2.5.\r\nGet error at line 23 of RotorzGUIHelper.cs. Any ideas?\r\n\r\nNullReferenceException: Object reference not set to an instance of an object\r\nSystem.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)\r\nRethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.\r\nSystem.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)\r\nSystem.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)\r\nFullInspector.Rotorz.ReorderableList.Internal.RotorzGUIHelper+<RotorzGUIHelper>c__AnonStorey9.<>m__3E () (at Assets/FullInspector2/Modules/Collections/Rotorz/Editor/Internal/RotorzGUIHelper.cs:23)\r\nFullInspector.Rotorz.ReorderableList.ReorderableListControl.PrepareState (Int32 controlID, IReorderableListAdaptor adaptor) (at Assets/FullInspector2/Modules/Collections/Rotorz/Editor/ReorderableListControl.cs:399)\r\nFullInspector.Rotorz.ReorderableList.ReorderableListControl.Draw (Rect position, Int32 controlID, IReorderableListAdaptor adaptor, FullInspector.Rotorz.ReorderableList.DrawEmptyAbsolute drawEmpty) (at Assets/FullInspector2/Modules/Collections/Rotorz/Editor/ReorderableListControl.cs:1061)\r\nFullInspector.Rotorz.ReorderableList.ReorderableListControl.DrawControlFromState (Rect position, IReorderableListAdaptor adaptor, FullInspector.Rotorz.ReorderableList.DrawEmptyAbsolute drawEmpty, ReorderableListFlags flags) (at Assets/FullInspector2/Modules/Collections/Rotorz/Editor/ReorderableListControl.cs:240)\r\nFullInspector.Rotorz.ReorderableList.ReorderableListGUI.DoListFieldAbsolute (Rect position, IReorderableListAdaptor adaptor, FullInspector.Rotorz.ReorderableList.DrawEmptyAbsolute drawEmpty, ReorderableListFlags flags) (at Assets/FullInspector2/Modules/Collections/Rotorz/Editor/ReorderableListGUI.cs:218)\r\nFullInspector.Rotorz.ReorderableList.ReorderableListGUI.ListFieldAbsolute (Rect position, IReorderableListAdaptor adaptor, FullInspector.Rotorz.ReorderableList.DrawEmptyAbsolute drawEmpty, ReorderableListFlags flags) (at Assets/FullInspector2/Modules/Collections/Rotorz/Editor/ReorderableListGUI.cs:227)\r\nFullInspector.Internal.BaseCollectionPropertyEditor`4[System.Collections.Generic.KeyValuePair`2[System.Single,UnityEngine.Sprite][][],System.Collections.Generic.KeyValuePair`2[System.Single,UnityEngine.Sprite][][],System.Collections.Generic.KeyValuePair`2[System.Single,UnityEngine.Sprite][],System.Collections.Generic.KeyValuePair`2[System.Single,UnityEngine.Sprite][]].DoEdit (Rect region, UnityEngine.GUIContent label, System.Collections.Generic.KeyValuePair`2[][]& collection, FullInspector.fiGraphMetadata metadata, IReorderableListAdaptor adaptor) (at Assets/FullInspector2/Modules/Collections/Editor/BaseCollectionPropertyEditor.cs:153)\r\nFullInspector.Internal.BaseCollectionPropertyEditor`4[System.Collections.Generic.KeyValuePair`2[System.Single,UnityEngine.Sprite][][],System.Collections.Generic.KeyValuePair`2[System.Single,UnityEngine.Sprite][][],System.Collections.Generic.KeyValuePair`2[System.Single,UnityEngine.Sprite][],System.Collections.Generic.KeyValuePair`2[System.Single,UnityEngine.Sprite][]].Edit (Rect region, UnityEngine.GUIContent label, System.Collections.Generic.KeyValuePair`2[][] collection, FullInspector.fiGraphMetadata metadata) (at Assets/FullInspector2/Modules/Collections/Editor/BaseCollectionPropertyEditor.cs:401)\r\nFullInspector.PropertyEditor`1[System.Collections.Generic.KeyValuePair`2[System.Single,UnityEngine.Sprite][][]].FullInspector.IPropertyEditorEditAPI.Edit (Rect region, UnityEngine.GUIContent label, System.Object element, FullInspector.fiGraphMetadata metadata) (at Assets/FullInspector2/Core/Editor/IPropertyEditor.cs:62)\r\nFullInspector.PropertyEditorExtensions.DoEdit2[Object] (IPropertyEditorEditAPI api, Rect region, UnityEngine.GUIContent label, System.Object element, FullInspector.fiGraphMetadata metadata) (at Assets/FullInspector2/Core/Editor/IPropertyEditorExtensions.cs:163)\r\nFullInspector.PropertyEditorExtensions.DoEdit[Object] (IPropertyEditorEditAPI api, Rect region, UnityEngine.GUIContent label, System.Object element, FullInspector.fiGraphMetadata metadata) (at Assets/FullInspector2/Core/Editor/IPropertyEditorExtensions.cs:90)\r\nFullInspector.PropertyEditorExtensions.Edit[Object] (IPropertyEditor editor, Rect region, UnityEngine.GUIContent label, System.Object element, fiGraphMetadataChild metadata) (at Assets/FullInspector2/Core/Editor/IPropertyEditorExtensions.cs:78)\r\nFullInspector.Internal.fiEditorGUI.EditPropertyDirect (Rect region, FullInspector.InspectedProperty property, System.Object propertyValue, fiGraphMetadataChild metadataChild, System.Object context) (at Assets/FullInspector2/Core/Editor/fiEditorGUI.cs:218)\r\nFullInspector.Internal.fiEditorGUI.EditProperty (Rect region, System.Object container, FullInspector.InspectedProperty property, fiGraphMetadataChild metadata) (at Assets/FullInspector2/Core/Editor/fiEditorGUI.cs:228)\r\nFullInspector.Internal.ReflectedPropertyEditor.EditProperty (UnityEngine.Rect& region, System.Object element, FullInspector.InspectedProperty property, FullInspector.fiGraphMetadata metadata) (at Assets/FullInspector2/Core/Editor/PropertyEditors/ReflectedPropertyEditor.cs:158)\r\nFullInspector.Internal.ReflectedPropertyEditor.EditPropertiesButtons (Rect region, System.Object element, FullInspector.fiGraphMetadata metadata) (at Assets/FullInspector2/Core/Editor/PropertyEditors/ReflectedPropertyEditor.cs:248)\r\nFullInspector.Internal.ReflectedPropertyEditor.Edit (Rect region, UnityEngine.GUIContent label, System.Object element, FullInspector.fiGraphMetadata metadata) (at Assets/FullInspector2/Core/Editor/PropertyEditors/ReflectedPropertyEditor.cs:300)\r\nFullInspector.PropertyEditorExtensions.DoEdit2[Object] (IPropertyEditorEditAPI api, Rect region, UnityEngine.GUIContent label, UnityEngine.Object element, FullInspector.fiGraphMetadata metadata) (at Assets/FullInspector2/Core/Editor/IPropertyEditorExtensions.cs:163)\r\nFullInspector.PropertyEditorExtensions.DoEdit[Object] (IPropertyEditorEditAPI api, Rect region, UnityEngine.GUIContent label, UnityEngine.Object element, FullInspector.fiGraphMetadata metadata) (at Assets/FullInspector2/Core/Editor/IPropertyEditorExtensions.cs:90)\r\nFullInspector.PropertyEditorExtensions.Edit[Object] (IPropertyEditor editor, Rect region, UnityEngine.GUIContent label, UnityEngine.Object element, fiGraphMetadataChild metadata) (at Assets/FullInspector2/Core/Editor/IPropertyEditorExtensions.cs:78)\r\nFullInspector.DefaultBehaviorEditor.OnEdit (Rect rect, UnityEngine.Object behavior, FullInspector.fiGraphMetadata metadata) (at Assets/FullInspector2/Core/Editor/DefaultBehaviorEditor.cs:29)\r\nFullInspector.BehaviorEditor`1[TBehavior].Edit (Rect rect, UnityEngine.Object behavior) (at Assets/FullInspector2/Core/Editor/IBehaviorEditor.cs:65)\r\nFullInspector.IBehaviorEditorExtensions.EditWithGUILayout[Object] (IBehaviorEditor editor, UnityEngine.Object element) (at Assets/FullInspector2/Core/Editor/IBehaviorEditorExtensions.cs:22)\r\nFullInspector.FullInspectorCommonSerializedObjectEditor.ShowInspectorForSerializedObject (UnityEngine.Object target) (at Assets/FullInspector2/Core/Editor/FullInspectorCommonSerializedObjectEditor.cs:152)\r\nFullInspector.FullInspectorCommonSerializedObjectEditor.OnInspectorGUI () (at Assets/FullInspector2/Core/Editor/FullInspectorCommonSerializedObjectEditor.cs:172)\r\nUnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean forceDirty, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect, Boolean eyeDropperDirty) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1150)\r\nUnityEditor.DockArea:OnGUI()"},"comment":{"url":"https://api.github.com/repos/jacobdufault/fullinspector/issues/comments/77599974","html_url":"https://github.com/jacobdufault/fullinspector/issues/111#issuecomment-77599974","issue_url":"https://api.github.com/repos/jacobdufault/fullinspector/issues/111","id":77599974,"user":{"login":"jacobdufault","id":356714,"avatar_url":"https://avatars.githubusercontent.com/u/356714?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobdufault","html_url":"https://github.com/jacobdufault","followers_url":"https://api.github.com/users/jacobdufault/followers","following_url":"https://api.github.com/users/jacobdufault/following{/other_user}","gists_url":"https://api.github.com/users/jacobdufault/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobdufault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobdufault/subscriptions","organizations_url":"https://api.github.com/users/jacobdufault/orgs","repos_url":"https://api.github.com/users/jacobdufault/repos","events_url":"https://api.github.com/users/jacobdufault/events{/privacy}","received_events_url":"https://api.github.com/users/jacobdufault/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T17:33:31Z","updated_at":"2015-03-06T17:33:31Z","body":"I've fixed the issue in 2.6 which is in the approval process in the asset store. Send me an email if you want the build now.\r\n\r\n`GUIClip.visibleRect` relates to `GUI.BeginArea` and `GUI.EndArea`, whereas `GUILayoutUtility.GetLastRect` returns the most recently used rectangle by the gui layout system (which is not used in FI)."}}