qq_26470013
skyblue_2012
2016-03-23 19:16

unity3d脚本添加时出现错误

  • 脚本
  • unity3d

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.TreeViewDragging.DragElement (UnityEditor.TreeViewItem targetItem, Rect targetItemRect, Boolean firstItem) (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/GUI/TreeView/TreeViewDragging.cs:201)
UnityEditor.TreeView.HandleUnusedMouseEventsForNode (Rect rect, UnityEditor.TreeViewItem item, Boolean firstItem) (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/GUI/TreeView/TreeView.cs:304)
UnityEditor.TreeView.OnGUI (Rect rect, Int32 keyboardControlID) (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/GUI/TreeView/TreeView.cs:408)
UnityEditor.SceneHierarchyWindow.DoTreeView

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

2条回答