View Issue Details

IDProjectCategoryLast Update
0016893Stars Beyond ReachCrash/ExceptionMay 28, 2015 11:57 am
ReporterCinth Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.852 
Fixed in Version0.853 
Summary0016893: Fatal "draw errer" Red text alert
DescriptionError error Eror

TagsNo tags attached.

Activities

Cinth

May 28, 2015 11:23 am

manager  

ArcenDebugLog.txt (12,555 bytes)   
5/28/2015 8:20:23 AM
:    -----------
Update: System.NullReferenceException: Object reference not set to an instance of an object
  at MapTile.RecalculateRenderCache (MapOverlayType CurrentOverlay, Boolean BlockHUD, Boolean ShowAllBuildingNames, Single effectiveDeltaTime) [0x00000] in <filename unknown>:0 
  at MapTile.RenderTile (.UnityRenderer R, Boolean HasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD, MapOverlayType CurrentOverlay, Boolean ShowAllBuildingNames, Single effectiveDeltaTime) [0x00000] in <filename unknown>:0 
  at Game.DrawMetaMap (Boolean hasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD) [0x00000] in <filename unknown>:0 
  at Game.DrawGame () [0x00000] in <filename unknown>:0 
  at Game.UpdateDisplay (Boolean IsFullVisualUpdate) [0x00000] in <filename unknown>:0 
Stack Trace:   at MapTile.RecalculateRenderCache (MapOverlayType CurrentOverlay, Boolean BlockHUD, Boolean ShowAllBuildingNames, Single effectiveDeltaTime) [0x00000] in <filename unknown>:0 
  at MapTile.RenderTile (.UnityRenderer R, Boolean HasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD, MapOverlayType CurrentOverlay, Boolean ShowAllBuildingNames, Single effectiveDeltaTime) [0x00000] in <filename unknown>:0 
  at Game.DrawMetaMap (Boolean hasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD) [0x00000] in <filename unknown>:0 
  at Game.DrawGame () [0x00000] in <filename unknown>:0 
  at Game.UpdateDisplay (Boolean IsFullVisualUpdate) [0x00000] in <filename unknown>:0 


   at System.Environment.get_StackTrace()
   at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity)
   at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity)
   at ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity)
   at EngineConfig.WriteToErrorFile(System.String ErrorFile, System.String ErrorName, System.String ErrorText, Boolean SuppressArcenDebugLog)
   at EngineConfig.WriteToErrorFile(System.String ErrorFile, System.String ErrorName, System.String ErrorText)
   at MainCameraLogic.LogWritten(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause, Boolean CameFromUnity)
   at MainCameraLogic.LogWritten(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause)
   at ArcenMainCameraImplementations.Log(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause)
   at ArcenMainCameraImplementations.MainUpdateLogic()
   at MainCameraLogic.Update()

5/28/2015 8:20:23 AM
-----------
Update: System.NullReferenceException: Object reference not set to an instance of an object
  at MapTile.RecalculateRenderCache (MapOverlayType CurrentOverlay, Boolean BlockHUD, Boolean ShowAllBuildingNames, Single effectiveDeltaTime) [0x00000] in <filename unknown>:0 
  at MapTile.RenderTile (.UnityRenderer R, Boolean HasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD, MapOverlayType CurrentOverlay, Boolean ShowAllBuildingNames, Single effectiveDeltaTime) [0x00000] in <filename unknown>:0 
  at Game.DrawMetaMap (Boolean hasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD) [0x00000] in <filename unknown>:0 
  at Game.DrawGame () [0x00000] in <filename unknown>:0 
  at Game.UpdateDisplay (Boolean IsFullVisualUpdate) [0x00000] in <filename unknown>:0 
Stack Trace:   at MapTile.RecalculateRenderCache (MapOverlayType CurrentOverlay, Boolean BlockHUD, Boolean ShowAllBuildingNames, Single effectiveDeltaTime) [0x00000] in <filename unknown>:0 
  at MapTile.RenderTile (.UnityRenderer R, Boolean HasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD, MapOverlayType CurrentOverlay, Boolean ShowAllBuildingNames, Single effectiveDeltaTime) [0x00000] in <filename unknown>:0 
  at Game.DrawMetaMap (Boolean hasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD) [0x00000] in <filename unknown>:0 
  at Game.DrawGame () [0x00000] in <filename unknown>:0 
  at Game.UpdateDisplay (Boolean IsFullVisualUpdate) [0x00000] in <filename unknown>:0 


   at System.Environment.get_StackTrace()
   at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity)
   at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity)
   at ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity)
   at MainCameraLogic.LogWritten(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause, Boolean CameFromUnity)
   at MainCameraLogic.LogWritten(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause)
   at ArcenMainCameraImplementations.Log(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause)
   at ArcenMainCameraImplementations.MainUpdateLogic()
   at MainCameraLogic.Update()

5/28/2015 8:20:23 AM
:    -----------
Update: System.NullReferenceException: Object reference not set to an instance of an object
  at MapTile.RecalculateRenderCache (MapOverlayType CurrentOverlay, Boolean BlockHUD, Boolean ShowAllBuildingNames, Single effectiveDeltaTime) [0x00000] in <filename unknown>:0 
  at MapTile.RenderTile (.UnityRenderer R, Boolean HasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD, MapOverlayType CurrentOverlay, Boolean ShowAllBuildingNames, Single effectiveDeltaTime) [0x00000] in <filename unknown>:0 
  at Game.DrawMetaMap (Boolean hasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD) [0x00000] in <filename unknown>:0 
  at Game.DrawGame () [0x00000] in <filename unknown>:0 
  at Game.UpdateDisplay (Boolean IsFullVisualUpdate) [0x00000] in <filename unknown>:0 
Stack Trace:   at MapTile.RecalculateRenderCache (MapOverlayType CurrentOverlay, Boolean BlockHUD, Boolean ShowAllBuildingNames, Single effectiveDeltaTime) [0x00000] in <filename unknown>:0 
  at MapTile.RenderTile (.UnityRenderer R, Boolean HasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD, MapOverlayType CurrentOverlay, Boolean ShowAllBuildingNames, Single effectiveDeltaTime) [0x00000] in <filename unknown>:0 
  at Game.DrawMetaMap (Boolean hasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD) [0x00000] in <filename unknown>:0 
  at Game.DrawGame () [0x00000] in <filename unknown>:0 
  at Game.UpdateDisplay (Boolean IsFullVisualUpdate) [0x00000] in <filename unknown>:0 


   at System.Environment.get_StackTrace()
   at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity)
   at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity)
   at ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity)
   at EngineConfig.WriteToErrorFile(System.String ErrorFile, System.String ErrorName, System.String ErrorText, Boolean SuppressArcenDebugLog)
   at EngineConfig.WriteToErrorFile(System.String ErrorFile, System.String ErrorName, System.String ErrorText)
   at MainCameraLogic.LogWritten(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause, Boolean CameFromUnity)
   at MainCameraLogic.LogWritten(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause)
   at ArcenMainCameraImplementations.Log(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause)
   at ArcenMainCameraImplementations.MainUpdateLogic()
   at MainCameraLogic.Update()

5/28/2015 8:20:23 AM
-----------
Update: System.NullReferenceException: Object reference not set to an instance of an object
  at MapTile.RecalculateRenderCache (MapOverlayType CurrentOverlay, Boolean BlockHUD, Boolean ShowAllBuildingNames, Single effectiveDeltaTime) [0x00000] in <filename unknown>:0 
  at MapTile.RenderTile (.UnityRenderer R, Boolean HasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD, MapOverlayType CurrentOverlay, Boolean ShowAllBuildingNames, Single effectiveDeltaTime) [0x00000] in <filename unknown>:0 
  at Game.DrawMetaMap (Boolean hasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD) [0x00000] in <filename unknown>:0 
  at Game.DrawGame () [0x00000] in <filename unknown>:0 
  at Game.UpdateDisplay (Boolean IsFullVisualUpdate) [0x00000] in <filename unknown>:0 
Stack Trace:   at MapTile.RecalculateRenderCache (MapOverlayType CurrentOverlay, Boolean BlockHUD, Boolean ShowAllBuildingNames, Single effectiveDeltaTime) [0x00000] in <filename unknown>:0 
  at MapTile.RenderTile (.UnityRenderer R, Boolean HasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD, MapOverlayType CurrentOverlay, Boolean ShowAllBuildingNames, Single effectiveDeltaTime) [0x00000] in <filename unknown>:0 
  at Game.DrawMetaMap (Boolean hasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD) [0x00000] in <filename unknown>:0 
  at Game.DrawGame () [0x00000] in <filename unknown>:0 
  at Game.UpdateDisplay (Boolean IsFullVisualUpdate) [0x00000] in <filename unknown>:0 


   at System.Environment.get_StackTrace()
   at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity)
   at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity)
   at ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity)
   at MainCameraLogic.LogWritten(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause, Boolean CameFromUnity)
   at MainCameraLogic.LogWritten(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause)
   at ArcenMainCameraImplementations.Log(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause)
   at ArcenMainCameraImplementations.MainUpdateLogic()
   at MainCameraLogic.Update()

5/28/2015 8:20:23 AM
:    -----------
Update: System.NullReferenceException: Object reference not set to an instance of an object
  at MapTile.RecalculateRenderCache (MapOverlayType CurrentOverlay, Boolean BlockHUD, Boolean ShowAllBuildingNames, Single effectiveDeltaTime) [0x00000] in <filename unknown>:0 
  at MapTile.RenderTile (.UnityRenderer R, Boolean HasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD, MapOverlayType CurrentOverlay, Boolean ShowAllBuildingNames, Single effectiveDeltaTime) [0x00000] in <filename unknown>:0 
  at Game.DrawMetaMap (Boolean hasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD) [0x00000] in <filename unknown>:0 
  at Game.DrawGame () [0x00000] in <filename unknown>:0 
  at Game.UpdateDisplay (Boolean IsFullVisualUpdate) [0x00000] in <filename unknown>:0 
Stack Trace:   at MapTile.RecalculateRenderCache (MapOverlayType CurrentOverlay, Boolean BlockHUD, Boolean ShowAllBuildingNames, Single effectiveDeltaTime) [0x00000] in <filename unknown>:0 
  at MapTile.RenderTile (.UnityRenderer R, Boolean HasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD, MapOverlayType CurrentOverlay, Boolean ShowAllBuildingNames, Single effectiveDeltaTime) [0x00000] in <filename unknown>:0 
  at Game.DrawMetaMap (Boolean hasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD) [0x00000] in <filename unknown>:0 
  at Game.DrawGame () [0x00000] in <filename unknown>:0 
  at Game.UpdateDisplay (Boolean IsFullVisualUpdate) [0x00000] in <filename unknown>:0 


   at System.Environment.get_StackTrace()
   at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity)
   at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity)
   at ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity)
   at EngineConfig.WriteToErrorFile(System.String ErrorFile, System.String ErrorName, System.String ErrorText, Boolean SuppressArcenDebugLog)
   at EngineConfig.WriteToErrorFile(System.String ErrorFile, System.String ErrorName, System.String ErrorText)
   at MainCameraLogic.LogWritten(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause, Boolean CameFromUnity)
   at MainCameraLogic.LogWritten(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause)
   at ArcenMainCameraImplementations.Log(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause)
   at ArcenMainCameraImplementations.MainUpdateLogic()
   at MainCameraLogic.Update()

ArcenDebugLog.txt (12,555 bytes)   

Cinth

May 28, 2015 11:23 am

manager  

DrawGameErrors.txt (534,996 bytes)

Cinth

May 28, 2015 11:23 am

manager  

UnhandledErrors.txt (660,549 bytes)

Chris_McElligottPark

May 28, 2015 11:28 am

administrator   ~0041325

If you save and restart, does it work again? I think this is one of those cross-threading things that happens once in a blue moon.

Chris_McElligottPark

May 28, 2015 11:38 am

administrator   ~0041326

Thanks!

* Put in some error catching that was probably related to cross-thread updates during the interturn again. Tiles with an error will draw ERROR on them so long as they are having trouble rendering, and log an entry ONCE per series of errors. That way the game doesn't go fatal-error-ballistic on you over what might be a very temporary thing, and if it's not a temporary thing then it will help us figure out what is going on and where.


If this happens again, please let me know and I'll push the release early. Otherwise I think it's one of those interturn oddities that happens on rare occasion.

Cinth

May 28, 2015 11:42 am

manager   ~0041329

It got menu hung a bit / screens being really weird so I killed it. I just got hit with a disease and hit the icon to get its type for action. The bottom half of the screen would flicker black/offset up (as I could see the bottom area of hex tiles) as I moused over the window. Really weird.

Chris_McElligottPark

May 28, 2015 11:44 am

administrator   ~0041330

Ah, okay. That is strange indeed, that's not what I would have expected based on where the error came from in the logs you uploaded. If you're able to duplicate it, please do let me know.

Cinth

May 28, 2015 11:57 am

manager   ~0041335

Working on it

Issue History

Date Modified Username Field Change
May 28, 2015 11:23 am Cinth New Issue
May 28, 2015 11:23 am Cinth File Added: ArcenDebugLog.txt
May 28, 2015 11:23 am Cinth File Added: DrawGameErrors.txt
May 28, 2015 11:23 am Cinth File Added: UnhandledErrors.txt
May 28, 2015 11:28 am Chris_McElligottPark Note Added: 0041325
May 28, 2015 11:38 am Chris_McElligottPark Note Added: 0041326
May 28, 2015 11:38 am Chris_McElligottPark Status new => resolved
May 28, 2015 11:38 am Chris_McElligottPark Fixed in Version => 0.853
May 28, 2015 11:38 am Chris_McElligottPark Resolution open => fixed
May 28, 2015 11:38 am Chris_McElligottPark Assigned To => Chris_McElligottPark
May 28, 2015 11:42 am Cinth Note Added: 0041329
May 28, 2015 11:44 am Chris_McElligottPark Note Added: 0041330
May 28, 2015 11:57 am Cinth Note Added: 0041335