Guest User

InvalidOperationException during save on iOS

a guest
Aug 22nd, 2023
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.90 KB | None | 0 0
  1. InvalidOperationException: AC.SceneItemSpawnData cannot be serialized because it does not have a parameterless constructor.
  2. Rethrow as InvalidOperationException: Cannot serialize member 'AC.SingleLevelData.allSceneItemSpawnData' of type 'System.Collections.Generic.List`1[[AC.SceneItemSpawnData, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]', see inner exception for more details.
  3. System.Xml.Serialization.StructModel.CheckSupportedMember (System.Xml.Serialization.TypeDesc typeDesc, System.Reflection.MemberInfo member, System.Type type) (at <7fcddeed965246b69b2218bb4b12c6d7>:0)
  4. System.Xml.Serialization.StructModel.CheckSupportedMember (System.Xml.Serialization.TypeDesc typeDesc, System.Reflection.MemberInfo member, System.Type type) (at <7fcddeed965246b69b2218bb4b12c6d7>:0)
  5. System.Xml.Serialization.StructModel.GetFieldModel (System.Reflection.FieldInfo fieldInfo) (at <7fcddeed965246b69b2218bb4b12c6d7>:0)
  6. System.Xml.Serialization.StructModel.GetFieldModel (System.Reflection.MemberInfo memberInfo) (at <7fcddeed965246b69b2218bb4b12c6d7>:0)
  7. System.Xml.Serialization.XmlReflectionImporter.InitializeStructMembers (System.Xml.Serialization.StructMapping mapping, System.Xml.Serialization.StructModel model, System.Boolean openModel, System.String typeName, System.Xml.Serialization.RecursionLimiter limiter) (at <7fcddeed965246b69b2218bb4b12c6d7>:0)
  8. System.Xml.Serialization.XmlReflectionImporter.ImportStructLikeMapping (System.Xml.Serialization.StructModel model, System.String ns, System.Boolean openModel, System.Xml.Serialization.XmlAttributes a, System.Xml.Serialization.RecursionLimiter limiter) (at <7fcddeed965246b69b2218bb4b12c6d7>:0)
  9. System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeModel model, System.String ns, System.Xml.Serialization.XmlReflectionImporter+ImportContext context, System.String dataType, System.Xml.Serialization.XmlAttributes a, System.Boolean repeats, System.Boolean openModel, System.Xml.Serialization.RecursionLimiter limiter) (at <7fcddeed965246b69b2218bb4b12c6d7>:0)
  10. Rethrow as InvalidOperationException: There was an error reflecting type 'AC.SingleLevelData'.
  11. System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeModel model, System.String ns, System.Xml.Serialization.XmlReflectionImporter+ImportContext context, System.String dataType, System.Xml.Serialization.XmlAttributes a, System.Boolean repeats, System.Boolean openModel, System.Xml.Serialization.RecursionLimiter limiter) (at <7fcddeed965246b69b2218bb4b12c6d7>:0)
  12. System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeModel model, System.String ns, System.Xml.Serialization.XmlReflectionImporter+ImportContext context, System.String dataType, System.Xml.Serialization.XmlAttributes a, System.Xml.Serialization.RecursionLimiter limiter) (at <7fcddeed965246b69b2218bb4b12c6d7>:0)
  13. System.Xml.Serialization.XmlReflectionImporter.CreateArrayElementsFromAttributes (System.Xml.Serialization.ArrayMapping arrayMapping, System.Xml.Serialization.XmlArrayItemAttributes attributes, System.Type arrayElementType, System.String arrayElementNs, System.Xml.Serialization.RecursionLimiter limiter) (at <7fcddeed965246b69b2218bb4b12c6d7>:0)
  14. System.Xml.Serialization.XmlReflectionImporter.ImportArrayLikeMapping (System.Xml.Serialization.ArrayModel model, System.String ns, System.Xml.Serialization.RecursionLimiter limiter) (at <7fcddeed965246b69b2218bb4b12c6d7>:0)
  15. System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeModel model, System.String ns, System.Xml.Serialization.XmlReflectionImporter+ImportContext context, System.String dataType, System.Xml.Serialization.XmlAttributes a, System.Boolean repeats, System.Boolean openModel, System.Xml.Serialization.RecursionLimiter limiter) (at <7fcddeed965246b69b2218bb4b12c6d7>:0)
  16. Rethrow as InvalidOperationException: There was an error reflecting type 'System.Collections.Generic.List`1[AC.SingleLevelData]'.
  17. System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeModel model, System.String ns, System.Xml.Serialization.XmlReflectionImporter+ImportContext context, System.String dataType, System.Xml.Serialization.XmlAttributes a, System.Boolean repeats, System.Boolean openModel, System.Xml.Serialization.RecursionLimiter limiter) (at <7fcddeed965246b69b2218bb4b12c6d7>:0)
  18. System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeModel model, System.String ns, System.Xml.Serialization.XmlReflectionImporter+ImportContext context, System.String dataType, System.Xml.Serialization.XmlAttributes a, System.Xml.Serialization.RecursionLimiter limiter) (at <7fcddeed965246b69b2218bb4b12c6d7>:0)
  19. System.Xml.Serialization.XmlReflectionImporter.ImportElement (System.Xml.Serialization.TypeModel model, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace, System.Xml.Serialization.RecursionLimiter limiter) (at <7fcddeed965246b69b2218bb4b12c6d7>:0)
  20. System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Type type, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) (at <7fcddeed965246b69b2218bb4b12c6d7>:0)
  21. System.Xml.Serialization.XmlSerializer..ctor (System.Type type, System.String defaultNamespace) (at <7fcddeed965246b69b2218bb4b12c6d7>:0)
  22. System.Xml.Serialization.XmlSerializer..ctor (System.Type type) (at <7fcddeed965246b69b2218bb4b12c6d7>:0)
  23. AC.FileFormatHandler_Xml.SerializeObject[T] (System.Object dataObject) (at Assets/AdventureCreator/Scripts/Save system/FileFormat/FileFormatHandler_Xml.cs:29)
  24. AC.FileFormatHandler_Xml.SerializeAllRoomData (System.Collections.Generic.List`1[T] dataObjects) (at Assets/AdventureCreator/Scripts/Save system/FileFormat/FileFormatHandler_Xml.cs:87)
  25. AC.SaveOperation.SendSaveToFile () (at Assets/AdventureCreator/Scripts/Save system/SaveOperation.cs:146)
  26. System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) (at <eaa95166e74c4ae1a419b6aa5baf90b9>:0)
  27. System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <eaa95166e74c4ae1a419b6aa5baf90b9>:0)
  28. System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <eaa95166e74c4ae1a419b6aa5baf90b9>:0)
  29. System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) (at <eaa95166e74c4ae1a419b6aa5baf90b9>:0)
  30. System.Threading.ThreadHelper.ThreadStart () (at <eaa95166e74c4ae1a419b6aa5baf90b9>:0)
  31. UnityEngine.<>c:<RegisterUECatcher>b__0_0(Object, UnhandledExceptionEventArgs) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnhandledExceptionHandler.bindings.cs:46)
Advertisement
Add Comment
Please, Sign In to add comment