Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Attempting to recover from serialization error
- Error converting value 0 to type 'CustomGUI.Interfaces.ITextBox'. Path '', line 1, position 1.
- Member:
- OriginalObject:
- 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.
- at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable (System.Object value, System.Type initialType, System.Type targetType) [0x00000] in <filename unknown>:0
- at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast (System.Object initialValue, System.Globalization.CultureInfo culture, System.Type targetType) [0x00000] in <filename unknown>:0
- 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
- --- End of inner exception stack trace ---
- 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
- 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
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) [0x00000] in <filename unknown>:0
- UnityEngine.Debug:LogWarning(Object)
- FullInspector.JsonNetSerializer:HandleError(Object, ErrorEventArgs) (at Assets/FullInspector2/Serializers/JsonNet/JsonNetSerializer.cs:76)
- Newtonsoft.Json.JsonSerializer:OnError(ErrorEventArgs)
- Newtonsoft.Json.Serialization.JsonSerializerInternalBase:IsErrorHandled(Object, JsonContract, Object, IJsonLineInfo, String, Exception)
- Newtonsoft.Json.Serialization.JsonSerializerInternalReader:Deserialize(JsonReader, Type, Boolean)
- Newtonsoft.Json.JsonSerializer:DeserializeInternal(JsonReader, Type)
- Newtonsoft.Json.JsonSerializer:Deserialize(JsonReader, Type)
- Newtonsoft.Json.JsonConvert:DeserializeObject(String, Type, JsonSerializerSettings)
- FullInspector.JsonNetSerializer:Deserialize(MemberInfo, String, ISerializationOperator) (at Assets/FullInspector2/Serializers/JsonNet/JsonNetSerializer.cs:117)
- FullInspector.Internal.BehaviorSerializationHelpers:RestoreState(ISerializedObject, ISerializationOperator) (at Assets/FullInspector2/Core/BehaviorSerializationHelpers.cs:166)
- FullInspector.BaseBehavior`1:RestoreState() (at Assets/FullInspector2/Core/BaseBehavior.cs:51)
- FullInspector.BaseBehavior`1:Awake() (at Assets/FullInspector2/Core/BaseBehavior.cs:34)
- Assets.Andrew_Scripts.LoginGUI:Awake() (at Assets/Scripts/GUI/LoginGUI.cs:47)
- ---------------------------------------------------------------------------------------------------------------------------------------
- InvalidOperationException: SerializeObject requires the obj parameter to derive from UnityEngine.Object
- FullInspector.Internal.BehaviorSerializationHelpers.RestoreState[JsonNetSerializer] (ISerializedObject obj, ISerializationOperator serializationOperator) (at Assets/FullInspector2/Core/BehaviorSerializationHelpers.cs:104)
- FullInspector.BaseBehavior`1[TSerializer].RestoreState () (at Assets/FullInspector2/Core/BaseBehavior.cs:51)
- FullInspector.FullInspectorCommonSerializedObjectEditor.EnsureRestored (ISerializedObject obj) (at Assets/FullInspector2/Core/Editor/FullInspectorCommonSerializedObjectEditor.cs:90)
- FullInspector.FullInspectorCommonSerializedObjectEditor.OnInspectorGUI () (at Assets/FullInspector2/Core/Editor/FullInspectorCommonSerializedObjectEditor.cs:162)
- 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)
- UnityEditor.DockArea:OnGUI()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement