Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MissingReferenceException: The object of type 'GameObject' has been destroyed but you are still trying to access it.
- Your script should either check if it is null or you should not destroy the object.
- UnityEngine.GameObject.AddComponent (System.Type componentType) (at C:/buildslave/unity/build/Runtime/Export/GameObject.bindings.cs:221)
- UnityEngine.GameObject.AddComponent[T] () (at C:/buildslave/unity/build/Runtime/Export/GameObject.bindings.cs:226)
- EventHorizon.Rogue.View.Pathfinding.AstarProvider.CreateGraph[T] (Pathfinding.NNConstraint& graphConstraint) (at Assets/scripts/Rogue/View/Pathfinding/AstarProvider.cs:109)
- 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)
- EventHorizon.Rogue.View.Battles.BattlePhysicsFactory.CreatePathfinder () (at Assets/scripts/Rogue/View/Battles/BattlePhysicsFactory.cs:32)
- EventHorizon.RogueEditor.View.EditorContext.AcquireBattlePathfinder (System.Object user) (at Assets/scripts/RogueEditor/View/EditorContext.cs:174)
- EventHorizon.RogueEditor.View.DungeonsEditor.DungeonArchitectWindowEditor.TryInit () (at Assets/scripts/RogueEditor/View/DungeonsEditor/DungeonArchitectWindowEditor.cs:261)
- EventHorizon.RogueEditor.View.DungeonsEditor.DungeonArchitectWindowEditor.OnGUI () (at Assets/scripts/RogueEditor/View/DungeonsEditor/DungeonArchitectWindowEditor.cs:51)
- 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)
- Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
- 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)
- System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:342)
- UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:336)
- UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:310)
- 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)
- UnityEditor.DockArea.OldOnGUI () (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:320)
- 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)
- UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement