SHARE
TWEET

Untitled

a guest Jun 3rd, 2014 216 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Attempting to recover from serialization error
  2. Error converting value 0 to type 'CustomGUI.Interfaces.ITextBox'. Path '', line 1, position 1.
  3. Member:
  4. OriginalObject:
  5. Exception: Newtonsoft.Json.JsonSerializationException: Error converting value 0 to type 'CustomGUI.Interfaces.ITextBox'. Path '', line 1, position 1. ---> System.ArgumentException: Could not cast or convert from System.Int64 to CustomGUI.Interfaces.ITextBox.
  6.   at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable (System.Object value, System.Type initialType, System.Type targetType) [0x00000] in <filename unknown>:0
  7.   at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast (System.Object initialValue, System.Globalization.CultureInfo culture, System.Type targetType) [0x00000] in <filename unknown>:0
  8.   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x00000] in <filename unknown>:0
  9.   --- End of inner exception stack trace ---
  10.   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x00000] in <filename unknown>:0
  11.   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00000] in <filename unknown>:0
  12.   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) [0x00000] in <filename unknown>:0
  13. UnityEngine.Debug:LogWarning(Object)
  14. FullInspector.JsonNetSerializer:HandleError(Object, ErrorEventArgs) (at Assets/FullInspector2/Serializers/JsonNet/JsonNetSerializer.cs:76)
  15. Newtonsoft.Json.JsonSerializer:OnError(ErrorEventArgs)
  16. Newtonsoft.Json.Serialization.JsonSerializerInternalBase:IsErrorHandled(Object, JsonContract, Object, IJsonLineInfo, String, Exception)
  17. Newtonsoft.Json.Serialization.JsonSerializerInternalReader:Deserialize(JsonReader, Type, Boolean)
  18. Newtonsoft.Json.JsonSerializer:DeserializeInternal(JsonReader, Type)
  19. Newtonsoft.Json.JsonSerializer:Deserialize(JsonReader, Type)
  20. Newtonsoft.Json.JsonConvert:DeserializeObject(String, Type, JsonSerializerSettings)
  21. FullInspector.JsonNetSerializer:Deserialize(MemberInfo, String, ISerializationOperator) (at Assets/FullInspector2/Serializers/JsonNet/JsonNetSerializer.cs:117)
  22. FullInspector.Internal.BehaviorSerializationHelpers:RestoreState(ISerializedObject, ISerializationOperator) (at Assets/FullInspector2/Core/BehaviorSerializationHelpers.cs:166)
  23. FullInspector.BaseBehavior`1:RestoreState() (at Assets/FullInspector2/Core/BaseBehavior.cs:51)
  24. FullInspector.BaseBehavior`1:Awake() (at Assets/FullInspector2/Core/BaseBehavior.cs:34)
  25. Assets.Andrew_Scripts.LoginGUI:Awake() (at Assets/Scripts/GUI/LoginGUI.cs:47)
  26.  
  27. ---------------------------------------------------------------------------------------------------------------------------------------
  28.  
  29. InvalidOperationException: SerializeObject requires the obj parameter to derive from UnityEngine.Object
  30. FullInspector.Internal.BehaviorSerializationHelpers.RestoreState[JsonNetSerializer] (ISerializedObject obj, ISerializationOperator serializationOperator) (at Assets/FullInspector2/Core/BehaviorSerializationHelpers.cs:104)
  31. FullInspector.BaseBehavior`1[TSerializer].RestoreState () (at Assets/FullInspector2/Core/BaseBehavior.cs:51)
  32. FullInspector.FullInspectorCommonSerializedObjectEditor.EnsureRestored (ISerializedObject obj) (at Assets/FullInspector2/Core/Editor/FullInspectorCommonSerializedObjectEditor.cs:90)
  33. FullInspector.FullInspectorCommonSerializedObjectEditor.OnInspectorGUI () (at Assets/FullInspector2/Core/Editor/FullInspectorCommonSerializedObjectEditor.cs:162)
  34. UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean forceDirty, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect, Boolean eyeDropperDirty) (at C:/BuildAgent/work/aeedb04a1292f85a/Editor/Mono/Inspector/InspectorWindow.cs:1124)
  35. UnityEditor.DockArea:OnGUI()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top