gpt4 book ai didi

visual-studio - 如何处理这个 "InvalidOperationException: EnsureRunningOnMainThread can only be called from the main thread"

转载 作者:行者123 更新时间:2023-12-04 06:17:05 28 4
gpt4 key购买 nike

我已经收到这个错误很长一段时间了,不知道它是什么。它也没有干预我的进步!

完整的错误信息:

 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_Inequality (UnityEngine.Object x, UnityEngine.Object y) (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.bindings.cs:405)
UnityEditor.ProGrids.GridRenderer.Destroy () (at Library/PackageCache/com.unity.progrids@3.0.3-preview.0/Editor/GridRenderer.cs:85)
UnityEditor.ProGrids.ProGridsEditor.Destroy () (at Library/PackageCache/com.unity.progrids@3.0.3-preview.0/Editor/ProGridsEditor.cs:409)
UnityEditor.ProGrids.ProGridsEditor.Finalize () (at Library/PackageCache/com.unity.progrids@3.0.3-preview.0/Editor/ProGridsEditor.cs:370)
UnityEngine.UnhandledExceptionHandler:<RegisterUECatcher>m__0(Object, UnhandledExceptionEventArgs)

有什么建议?

最佳答案

它看起来像 ProGrids 303 中的错误。他们正在从工作线程中最终确定它是禁止的。忽略。下次更新肯定会消失。

关于visual-studio - 如何处理这个 "InvalidOperationException: EnsureRunningOnMainThread can only be called from the main thread",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56198762/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com