View Issue Details

IDProjectCategoryLast Update
0025394AI War 2Crash/ExceptionJul 14, 2021 7:11 pm
ReporterBadgerBadger Assigned ToChris_McElligottPark  
Severityminor 
Status resolvedResolutionfixed 
Product Version3.309 Hangar Staff 
Fixed in VersionBeta 3.310 Engineering Intelligence Injection 
Summary0025394: null reference exception in Eye Adaptation
DescriptionThis was hit on my linux machine

7/12/2021 6:40:51 PM 3.310 SINGLEP -----------
NullReferenceException: Object reference not set to an instance of an object
Stack Trace: UnityEngine.PostProcessing.EyeAdaptationComponent.get_active () (at <8f6fd7d92a5c4e4aba084770bc109b37>:0)
UnityEngine.PostProcessing.PostProcessingBehaviour.OnGUI () (at <8f6fd7d92a5c4e4aba084770bc109b37>:0)


  at System.Environment.get_StackTrace () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at Arcen.Universal.ArcenDebugging.ArcenLog_InnerOnMainThreadOnly (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity, System.DateTime Timestamp) [0x00000] in <2b034af521bf4e9e9251752b1b6eec93>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <2b034af521bf4e9e9251752b1b6eec93>:0
  at Arcen.Universal.Engine_Universal.LogWritten (System.String LogString, System.String StackTrace, UnityEngine.LogType Type, System.Exception Cause, System.Boolean CameFromUnity) [0x00000] in <2b034af521bf4e9e9251752b1b6eec93>:0
  at Arcen.Universal.Engine_Universal.LogWrittenFromUnity (System.String LogString, System.String StackTrace, UnityEngine.LogType Type) [0x00000] in <2b034af521bf4e9e9251752b1b6eec93>:0
  at UnityEngine.Application.CallLogCallback (System.String logString, System.String stackTrace, UnityEngine.LogType type, System.Boolean invokedOnMainThread) [0x00000] in <2425394cf09642369e2109953e31f62b>:0

TagsNo tags attached.

Activities

Daniexpert

Jul 13, 2021 9:54 am

manager   ~0062364

Same error on a windows machine.

BadgerBadger

Jul 14, 2021 6:11 pm

manager   ~0062416

Strategic Sage also reports this error

Daniexpert

Jul 14, 2021 6:30 pm

manager   ~0062417

Also, player.log is spammed with this error. Right now I have 13k lines with this engine error.

Chris_McElligottPark

Jul 14, 2021 6:32 pm

administrator   ~0062418

Thanks!

* Random "UnityEngine.PostProcessing.EyeAdaptationComponent.get_active ()" exceptions should no longer ever happen. They didn't hurt anything, but were annoying.

Chris_McElligottPark

Jul 14, 2021 6:39 pm

administrator   ~0062419

For anyone curious, this is something that is happening just because of the camera states being shifted around. One of the camera states is turned off and some bit of logic is somehow still running here, sometimes. I am really surprised by 13k lines of this, to be honest. Hopefully this doesn't start filling up player.logs. If this becomes a running thing with the player.log, then I'll need to potentially update some of this built-in code myself.

Chris_McElligottPark

Jul 14, 2021 7:00 pm

administrator   ~0062420

Okay, this is filling up my own player log, too. This is going to be a performance hit as well as a memory leak.

Chris_McElligottPark

Jul 14, 2021 7:11 pm

administrator   ~0062421

* Put in defensive code in the unity post processing stack v1 code so that it can't spam the player.log while trying to see if some unused components should be turned on. This was new in the prior build, and contrary to being a minor annoyance, it was actually something that was a memory leak and a major performance degradation from how much it was invisibly flooding things.
** Thanks to Daniexpert for first reporting how severe it could become.

Issue History

Date Modified Username Field Change
Jul 12, 2021 8:41 pm BadgerBadger New Issue
Jul 12, 2021 8:41 pm BadgerBadger Status new => assigned
Jul 12, 2021 8:41 pm BadgerBadger Assigned To => Chris_McElligottPark
Jul 13, 2021 9:54 am Daniexpert Note Added: 0062364
Jul 14, 2021 6:11 pm BadgerBadger Note Added: 0062416
Jul 14, 2021 6:30 pm Daniexpert Note Added: 0062417
Jul 14, 2021 6:32 pm Chris_McElligottPark Status assigned => resolved
Jul 14, 2021 6:32 pm Chris_McElligottPark Resolution open => fixed
Jul 14, 2021 6:32 pm Chris_McElligottPark Fixed in Version => Beta 3.310 Engineering Intelligence Injection
Jul 14, 2021 6:32 pm Chris_McElligottPark Note Added: 0062418
Jul 14, 2021 6:39 pm Chris_McElligottPark Note Added: 0062419
Jul 14, 2021 7:00 pm Chris_McElligottPark Note Added: 0062420
Jul 14, 2021 7:11 pm Chris_McElligottPark Note Added: 0062421