Xbox One exception

FlowCanvas Forums Support Xbox One exception

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1621
    Rami
    Participant

    Hi! Could not find any information about it but does FlowCanvas support Xbox One platform?

    I’m getting this exception when running on it.

    (Deserialization Error)</b>: Constructor of FlowCanvas.Nodes.GetVariable1[System.Int32] threw an exception when creating an instance
    at ParadoxNotion.Serialization.FullSerializer.fsMetaType.CreateInstance () [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.Internal.fsReflectedConverter.CreateInstance (ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_3_Inheritance (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List
    1[ParadoxNotion.Serialization.FullSerializer.fsObjectProcessor]& processors) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_1_CycleReference (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List1[ParadoxNotion.Serialization.FullSerializer.fsObjectProcessor]& processors) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.TryDeserialize (ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Type overrideConverterType, System.Object& result) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.TryDeserialize (ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Object& result) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.Internal.fsIEnumerableConverter.TryDeserialize (ParadoxNotion.Serialization.FullSerializer.fsData data, System.Object& instance_, System.Type storageType) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_5_Converter (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type resultType, System.Object& result) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_4_Cycles (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type resultType, System.Object& result) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_3_Inheritance (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List
    1[ParadoxNotion.Serialization.FullSerializer.fsObjectProcessor]& processors) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_1_CycleReference (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List1[ParadoxNotion.Serialization.FullSerializer.fsObjectProcessor]& processors) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.TryDeserialize (ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Type overrideConverterType, System.Object& result) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.Internal.fsReflectedConverter.TryDeserialize (ParadoxNotion.Serialization.FullSerializer.fsData data, System.Object& instance, System.Type storageType) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_5_Converter (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type resultType, System.Object& result) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_4_Cycles (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type resultType, System.Object& result) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_3_Inheritance (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List
    1[ParadoxNotion.Serialization.FullSerializer.fsObjectProcessor]& processors) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_1_CycleReference (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List1[ParadoxNotion.Serialization.FullSerializer.fsObjectProcessor]& processors) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.TryDeserialize (ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Type overrideConverterType, System.Object& result) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.JSONSerializer.Deserialize (System.Type type, System.String serializedState, System.Collections.Generic.List
    1[T] objectReferences, System.Object deserialized) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.JSONSerializer.Deserialize[T] (System.String serializedState, System.Collections.Generic.List1[T] objectReferences, T deserialized) [0x00000] in <00000000000000000000000000000000>:0
    at NodeCanvas.Framework.Graph.Deserialize (System.String serializedGraph, System.Boolean validate, System.Collections.Generic.List
    1[T] objectReferences) [0x00000] in <00000000000000000000000000000000>:0
    at NodeCanvas.Framework.Graph.Deserialize () [0x00000] in <00000000000000000000000000000000>:0
    at NodeCanvas.Framework.Graph.UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize () [0x00000] in <00000000000000000000000000000000>:0
    at System.Xml.Serialization.XmlnsAccessor..ctor () [0x00000] in <00000000000000000000000000000000>:0
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:LogError(Object)
    ParadoxNotion.Serialization.FullSerializer.fsSerializer:TryDeserialize(fsData, Type, Type, Object&)
    ParadoxNotion.Serialization.FullSerializer.fsSerializer:TryDeserialize(fsData, Type, Object&)
    ParadoxNotion.Serialization.FullSerializer.Internal.fsIEnumerableConverter:TryDeserialize(fsData, Object&, Type)
    ParadoxNotion.Serialization.FullSerializer.fsSerializer:InternalDeserialize_5_Converter(Type, fsData, Type, Object&)
    ParadoxNotion.Serialization.FullSerializer.fsSerializer:InternalDeserialize_4_Cycles(Type, fsData, Type, Object&)
    ParadoxNotion.Serialization.FullSerializer.fsSerializer:InternalDeserialize_3_Inheritance(Type, fsData, Type, Object&, List1&)
    ParadoxNotion.Serialization.FullSerializer.fsSerializer:InternalDeserialize_1_CycleReference(Type, fsData, Type, Object&, List
    1&)
    ParadoxNotion.Serialization.FullSerializer.fsSerializer:TryDeserialize(fsData, Type, Type, Object&)
    ParadoxNotion.Serialization.FullSerializer.Internal.fsReflectedConverter:TryDeserialize(fsData, Object&, Type)
    ParadoxNotion.Serialization.FullSerializer.fsSerializer:InternalDeserialize_5_Converter(Type, fsData, Type, Object&)
    ParadoxNotion.Serialization.FullSerializer.fsSerializer:InternalDeserialize_4_Cycles(Type, fsData, Type, Object&)
    ParadoxNotion.Serialization.FullSerializer.fsSerializer:InternalDeserialize_3_Inheritance(Type, fsData, Type, Object&, List1&)
    ParadoxNotion.Serialization.FullSerializer.fsSerializer:InternalDeserialize_1_CycleReference(Type, fsData, Type, Object&, List
    1&)
    ParadoxNotion.Serialization.FullSerializer.fsSerializer:TryDeserialize(fsData, Type, Type, Object&)
    ParadoxNotion.Serialization.JSONSerializer:Deserialize(Type, String, List1, Object)
    ParadoxNotion.Serialization.JSONSerializer:Deserialize(String, List
    1, T)
    NodeCanvas.Framework.Graph:Deserialize(String, Boolean, List`1)
    NodeCanvas.Framework.Graph:Deserialize()
    NodeCanvas.Framework.Graph:UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize()
    System.Xml.Serialization.XmlnsAccessor:.ctor()

    (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    #1624
    Rami
    Participant

    Generating AOTclasses seems to partially fix the problem, but I’m still getting exceptions.

    <i>XboxOnePlayer(10.46.1.31):4601</i> <b>(Deserialization Error)</b>: Object reference not set to an instance of an object.
    at ParadoxNotion.Serialization.SerializedMethodInfo.OnAfterDeserialize () [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.Invoke_OnAfterDeserialize (System.Collections.Generic.List1[T] processors, System.Type storageType, System.Object instance) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.TryDeserialize (ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Type overrideConverterType, System.Object& result) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.Internal.fsReflectedConverter.TryDeserialize (ParadoxNotion.Serialization.FullSerializer.fsData data, System.Object& instance, System.Type storageType) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_5_Converter (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type resultType, System.Object& result) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_4_Cycles (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type resultType, System.Object& result) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_3_Inheritance (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List
    1[ParadoxNotion.Serialization.FullSerializer.fsObjectProcessor]& processors) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_1_CycleReference (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List1[ParadoxNotion.Serialization.FullSerializer.fsObjectProcessor]& processors) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.TryDeserialize (ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Type overrideConverterType, System.Object& result) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.Internal.fsIEnumerableConverter.TryDeserialize (ParadoxNotion.Serialization.FullSerializer.fsData data, System.Object& instance_, System.Type storageType) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_5_Converter (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type resultType, System.Object& result) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_4_Cycles (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type resultType, System.Object& result) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_3_Inheritance (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List
    1[ParadoxNotion.Serialization.FullSerializer.fsObjectProcessor]& processors) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_1_CycleReference (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List1[ParadoxNotion.Serialization.FullSerializer.fsObjectProcessor]& processors) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.TryDeserialize (ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Type overrideConverterType, System.Object& result) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.Internal.fsReflectedConverter.TryDeserialize (ParadoxNotion.Serialization.FullSerializer.fsData data, System.Object& instance, System.Type storageType) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_5_Converter (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type resultType, System.Object& result) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_4_Cycles (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type resultType, System.Object& result) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_3_Inheritance (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List
    1[ParadoxNotion.Serialization.FullSerializer.fsObjectProcessor]& processors) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_1_CycleReference (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List1[ParadoxNotion.Serialization.FullSerializer.fsObjectProcessor]& processors) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.FullSerializer.fsSerializer.TryDeserialize (ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Type overrideConverterType, System.Object& result) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.JSONSerializer.Deserialize (System.Type type, System.String serializedState, System.Collections.Generic.List
    1[T] objectReferences, System.Object deserialized) [0x00000] in <00000000000000000000000000000000>:0
    at ParadoxNotion.Serialization.JSONSerializer.Deserialize[T] (System.String serializedState, System.Collections.Generic.List1[T] objectReferences, T deserialized) [0x00000] in <00000000000000000000000000000000>:0
    at NodeCanvas.Framework.Graph.Deserialize (System.String serializedGraph, System.Boolean validate, System.Collections.Generic.List
    1[T] objectReferences) [0x00000] in <00000000000000000000000000000000>:0
    at NodeCanvas.Framework.Graph.Deserialize () [0x00000] in <00000000000000000000000000000000>:0
    at NodeCanvas.Framework.Graph.UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize () [0x00000] in <00000000000000000000000000000000>:0
    at System.Collections.Generic.Dictionary`2+ValueCollection[TKey,TValue].get_Count () [0x00000] in <00000000000000000000000000000000>:0

    #1626
    Gavalakis
    Keymaster

    Hello,

    When working with AOT platforms, like Xbox One is for example, you need to generate an AOTClasses file from within the Preferred Types Editor window. Simply open up the Preferred Types Editor window and hit the “Generate AOTClasses.cs and link.xml Files” button.
    Please check out this documentation link for more information: [LINK]

    Let me know if that works for you.
    Thanks.

    Join us on Discord: https://discord.gg/97q2Rjh

    #1632
    Rami
    Participant

    It solved the error. Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.