【发布时间】:2023-02-07 21:25:33
【问题描述】:
伙计们,我是 Unity 的新手,我遇到了这个错误,但我无法修复它。为什么代码行没有签名??
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Graphs.Edge.WakeUp () (at <b82d8d0a349d4d70807c2fc5746a710f>:0)
UnityEditor.Graphs.Graph.DoWakeUpEdges (System.Collections.Generic.List`1[T] inEdges, System.Collections.Generic.List`1[T] ok, System.Collections.Generic.List`1[T] error, System.Boolean inEdgesUsedToBeValid) (at <b82d8d0a349d4d70807c2fc5746a710f>:0)
UnityEditor.Graphs.Graph.WakeUpEdges (System.Boolean clearSlotEdges) (at <b82d8d0a349d4d70807c2fc5746a710f>:0)
UnityEditor.Graphs.Graph.WakeUp (System.Boolean force) (at <b82d8d0a349d4d70807c2fc5746a710f>:0)
UnityEditor.Graphs.Graph.WakeUp () (at <b82d8d0a349d4d70807c2fc5746a710f>:0)
UnityEditor.Graphs.Graph.OnEnable () (at <b82d8d0a349d4d70807c2fc5746a710f>:0)
【问题讨论】:
-
尝试关闭并重新打开统一。找到类似的论坛帖子here
-
谢谢你!那奏效了。即使日志中有错误,但在游戏过程中一切正常。
-
太棒了,乐于助人。我将把我的评论变成一个答案来结束这个问题。干杯
标签: c# visual-studio unity3d