View Issue Details

IDProjectCategoryLast Update
0012553Bionic DuesCrash/ExceptionSep 27, 2013 4:15 pm
Reporterwindgen Assigned Tokeith.lamothe  
Status closedResolutionunable to reproduce 
Product Version0.914 
Summary0012553: OnGUI: System.NullReferenceException: Object reference not set to an instance of an object
Description
This showed up in my ArcenDebugLog.txt, there was also a warning in the console. I didn't notice any strange behavior, but I saved, exited and restarted the game right after the message showed up.

Copy-pasting the end of my ArcenDebugLog.txt:

Mapgen: Mission_Hacker 141091427 9/18/2013 9:10:41 PM
Mapgen: Mission_Overdrive 993675200 9/18/2013 9:35:16 PM
Mapgen: Mission_ScienceLab 816279737 9/18/2013 10:17:40 PM
Mapgen: Mission_ScienceLab 382736920 9/18/2013 10:39:29 PM
-----------
OnGUI: System.NullReferenceException: Object reference not set to an instance of an object
  at MissionSidebarWindow.<SubclassInit>b__3 () [0x00000] in <filename unknown>:0
  at AbstractArcenControl.TryMouseoverEvent (Rect AbsoluteControlBounds, Vector3 MousePositionFromTopLeft, Boolean CountAsClickableElement) [0x00000] in <filename unknown>:0
  at ArcenButton.OnInput (Vector3 MousePositionFromTopLeft) [0x00000] in <filename unknown>:0
  at DelayedRenderer.RunInputForAll () [0x00000] in <filename unknown>:0
  at MainCameraLogic.OnGUI () [0x00000] in <filename unknown>:0
Stack Trace: at MissionSidebarWindow.<SubclassInit>b__3 () [0x00000] in <filename unknown>:0
  at AbstractArcenControl.TryMouseoverEvent (Rect AbsoluteControlBounds, Vector3 MousePositionFromTopLeft, Boolean CountAsClickableElement) [0x00000] in <filename unknown>:0
  at ArcenButton.OnInput (Vector3 MousePositionFromTopLeft) [0x00000] in <filename unknown>:0
  at DelayedRenderer.RunInputForAll () [0x00000] in <filename unknown>:0
  at MainCameraLogic.OnGUI () [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 MainCameraLogic.OnGUI()

9/18/2013 10:39:29 PM
: -----------
OnGUI: System.NullReferenceException: Object reference not set to an instance of an object
  at MissionSidebarWindow.<SubclassInit>b__3 () [0x00000] in <filename unknown>:0
  at AbstractArcenControl.TryMouseoverEvent (Rect AbsoluteControlBounds, Vector3 MousePositionFromTopLeft, Boolean CountAsClickableElement) [0x00000] in <filename unknown>:0
  at ArcenButton.OnInput (Vector3 MousePositionFromTopLeft) [0x00000] in <filename unknown>:0
  at DelayedRenderer.RunInputForAll () [0x00000] in <filename unknown>:0
  at MainCameraLogic.OnGUI () [0x00000] in <filename unknown>:0
Stack Trace: at MissionSidebarWindow.<SubclassInit>b__3 () [0x00000] in <filename unknown>:0
  at AbstractArcenControl.TryMouseoverEvent (Rect AbsoluteControlBounds, Vector3 MousePositionFromTopLeft, Boolean CountAsClickableElement) [0x00000] in <filename unknown>:0
  at ArcenButton.OnInput (Vector3 MousePositionFromTopLeft) [0x00000] in <filename unknown>:0
  at DelayedRenderer.RunInputForAll () [0x00000] in <filename unknown>:0
  at MainCameraLogic.OnGUI () [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 Configuration.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 MainCameraLogic.OnGUI()
TagsNo tags attached.
Internal WeightNew

Activities

keith.lamothe

Sep 19, 2013 12:35 am

administrator   ~0033865

I've tried reproducing this myself, with no success. Do you have a way of making it happen?

Just one of those cases where I really wish Unity let us do a build that included the debug symbols so it could include line numbers in those stack traces :)

Issue History

Date Modified Username Field Change
Sep 18, 2013 10:51 pm windgen New Issue
Sep 19, 2013 12:35 am keith.lamothe Note Added: 0033865
Sep 19, 2013 12:35 am keith.lamothe Assigned To => keith.lamothe
Sep 19, 2013 12:35 am keith.lamothe Status new => feedback
Sep 27, 2013 4:15 pm Chris_McElligottPark Internal Weight => New
Sep 27, 2013 4:15 pm Chris_McElligottPark Status feedback => closed
Sep 27, 2013 4:15 pm Chris_McElligottPark Resolution open => unable to reproduce
Apr 14, 2014 9:28 am Chris_McElligottPark Category Bug - Crash or Exception => Crash/Exception