InvalidOperationException when running in the Editor

FlowCanvas Forums Support InvalidOperationException when running in the Editor

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2212
    Rami
    Participant

    In 2018.3.0f2 when I start the game in the Editor, I am usually met with this exception

    InvalidOperationException: EnsureRunningOnMainThread can only be called from the main thread
    UnityEngine.Object.EnsureRunningOnMainThread () (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.bindings.cs:153)
    UnityEngine.Object.GetInstanceID () (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.bindings.cs:73)
    UnityEngine.Object.IsNativeObjectAlive (UnityEngine.Object o) (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.bindings.cs:182)
    UnityEngine.Object.CompareBaseObjects (UnityEngine.Object lhs, UnityEngine.Object rhs) (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.bindings.cs:140)
    UnityEngine.Object.op_Equality (UnityEngine.Object x, UnityEngine.Object y) (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.bindings.cs:403)
    ParadoxNotion.Serialization.fsUnityObjectConverter.TryDeserialize (ParadoxNotion.Serialization.FullSerializer.fsData data, System.Object& instance, System.Type storageType) (at Assets/Plugins/ParadoxNotion/CanvasCore/Common/Runtime/Serialization/fsUnityObjectConverter.cs:70)
    ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_5_Converter (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type resultType, System.Object& result) (at Assets/Plugins/ParadoxNotion/CanvasCore/Common/Runtime/Serialization/Full Serializer/fsSerializer.cs:886)
    ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_4_Cycles (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type resultType, System.Object& result) (at Assets/Plugins/ParadoxNotion/CanvasCore/Common/Runtime/Serialization/Full Serializer/fsSerializer.cs:878)
    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) (at Assets/Plugins/ParadoxNotion/CanvasCore/Common/Runtime/Serialization/Full Serializer/fsSerializer.cs:857)
    ParadoxNotion.Serialization.FullSerializer.fsSerializer.InternalDeserialize_1_CycleReference (System.Type overrideConverterType, ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List
    1[ParadoxNotion.Serialization.FullSerializer.fsObjectProcessor]& processors) (at Assets/Plugins/ParadoxNotion/CanvasCore/Common/Runtime/Serialization/Full Serializer/fsSerializer.cs:743)
    ParadoxNotion.Serialization.FullSerializer.fsSerializer.TryDeserialize (ParadoxNotion.Serialization.FullSerializer.fsData data, System.Type storageType, System.Type overrideConverterType, System.Object& result) (at Assets/Plugins/ParadoxNotion/CanvasCore/Common/Runtime/Serialization/Full Serializer/fsSerializer.cs:705)
    UnityEngine.Logger:LogException(Exception)
    ParadoxNotion.Services.Logger:ForwardToUnity(LogType, Object, String, Object) (at Assets/Plugins/ParadoxNotion/CanvasCore/Common/Runtime/Services/Logger.cs:100)
    ParadoxNotion.Services.<>c__DisplayClass11_0:<Internal_Log>b__0() (at Assets/Plugins/ParadoxNotion/CanvasCore/Common/Runtime/Services/Logger.cs:88)
    UnityEditor.EditorApplication:Internal_CallDelayFunctions()

    #2223
    Gavalakis
    Keymaster

    Hello again and sorry for the late reply due to xmas vacation.

    Thanks for letting me know. I am using 2018.3.0f2, but have never seen this exception shown. I will need to dig a bit deeper to find what might be causing this based on the log you’ve posted.

    Thanks.

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

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