Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.19 KB | None | 0 0
  1. MissingReferenceException: The object of type 'GameObject' has been destroyed but you are still trying to access it.
  2. Your script should either check if it is null or you should not destroy the object.
  3. UnityEngine.GameObject.AddComponent (System.Type componentType) (at C:/buildslave/unity/build/Runtime/Export/GameObject.bindings.cs:221)
  4. UnityEngine.GameObject.AddComponent[T] () (at C:/buildslave/unity/build/Runtime/Export/GameObject.bindings.cs:226)
  5. EventHorizon.Rogue.View.Pathfinding.AstarProvider.CreateGraph[T] (Pathfinding.NNConstraint& graphConstraint) (at Assets/scripts/Rogue/View/Pathfinding/AstarProvider.cs:109)
  6. EventHorizon.Rogue.View.Pathfinding.BattlePathfinder..ctor (EventHorizon.Rogue.Domain.Pathfinding.IAstarProvider astarProvider, EventHorizon.Rogue.Domain.IConfig config) (at Assets/scripts/Rogue/View/Pathfinding/BattlePathfinder.cs:27)
  7. EventHorizon.Rogue.View.Battles.BattlePhysicsFactory.CreatePathfinder () (at Assets/scripts/Rogue/View/Battles/BattlePhysicsFactory.cs:32)
  8. EventHorizon.RogueEditor.View.EditorContext.AcquireBattlePathfinder (System.Object user) (at Assets/scripts/RogueEditor/View/EditorContext.cs:174)
  9. EventHorizon.RogueEditor.View.DungeonsEditor.DungeonArchitectWindowEditor.TryInit () (at Assets/scripts/RogueEditor/View/DungeonsEditor/DungeonArchitectWindowEditor.cs:261)
  10. EventHorizon.RogueEditor.View.DungeonsEditor.DungeonArchitectWindowEditor.OnGUI () (at Assets/scripts/RogueEditor/View/DungeonsEditor/DungeonArchitectWindowEditor.cs:51)
  11. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  12. Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
  13. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  14. System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  15. UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:342)
  16. UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:336)
  17. UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:310)
  18. UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect, System.Boolean customBorder, System.Boolean floatingWindow, System.Boolean isBottomTab) (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:361)
  19. UnityEditor.DockArea.OldOnGUI () (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:320)
  20. UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:244)
  21. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement