timo-sisus / Power-Inspector

Report bugs and offer improvement ideas for Power Inspector.
http://u3d.as/1sNc
7 stars 0 forks source link

Serialized Class as Values not shown in Dictionary #9

Closed thePostFuturist closed 4 years ago

thePostFuturist commented 4 years ago

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object at ARIA_OR.InstructionsData.BuildDictionary () [0x00057] in D:\WorkForWork\ARIA-OR\Assets\_ARIA_OR\Scripts\Production\UIGen\InstructionsData.cs:34 at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <567df3e0919241ba98db88bec4c6696f>:0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <567df3e0919241ba98db88bec4c6696f>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0 at Sisus.MethodDrawer.GetValue (System.Int32 index, System.String& error) [0x001ba] in D:\WorkForWork\ARIA-OR\Assets\Sisus\Power Inspector\Code\Drawers\Field\Parent\Method\MethodDrawer.cs:572 UnityEngine.Debug:LogError(Object, Object) Sisus.NotificationMessageDispenser:Message(GUIContent, Object, MessageType, Boolean) (at Assets/Sisus/Power Inspector/Code/Editor/EditorWindow/Messaging/NotificationMessageDispenser.cs:57) Sisus.InspectorDrawerWindow:Message(GUIContent, Object, MessageType, Boolean) (at Assets/Sisus/Power Inspector/Code/Editor/EditorWindow/InspectorDrawerWindow.cs:2045) Sisus.PowerInspector:Message(GUIContent, Object, MessageType, Boolean) (at Assets/Sisus/Power Inspector/Code/Inspector/Power Inspector/PowerInspector.cs:223) Sisus.Inspector:Message(String, Object, MessageType, Boolean) (at Assets/Sisus/Power Inspector/Code/Inspector/Core/Inspector.cs:354) Sisus.MethodDrawer:GetValue(Int32, String&) (at Assets/Sisus/Power Inspector/Code/Drawers/Field/Parent/Method/MethodDrawer.cs:625) Sisus.MethodDrawer:Invoke(String&, Boolean) (at Assets/Sisus/Power Inspector/Code/Drawers/Field/Parent/Method/MethodDrawer.cs:1143) Sisus.MethodDrawer:Invoke() (at Assets/Sisus/Power Inspector/Code/Drawers/Field/Parent/Method/MethodDrawer.cs:1051) Sisus.MethodDrawer:OnClick(Event) (at Assets/Sisus/Power Inspector/Code/Drawers/Field/Parent/Method/MethodDrawer.cs:893) Sisus.Inspector:OnMouseDown(Event) (at Assets/Sisus/Power Inspector/Code/Inspector/Core/Inspector.cs:1444) Sisus.InspectorUtility:BeginInspector(IInspector, Boolean&) (at Assets/Sisus/Power Inspector/Code/Inspector/Utility/InspectorUtility.cs:492) Sisus.PowerInspector:OnGUI(Rect, Boolean) (at Assets/Sisus/Power Inspector/Code/Inspector/Power Inspector/PowerInspector.cs:99) Sisus.InspectorDrawerWindow:OnGUI() (at Assets/Sisus/Power Inspector/Code/Editor/EditorWindow/InspectorDrawerWindow.cs:1750) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)