View Issue Details

IDProjectCategoryLast Update
0023369AI War 2Crash/ExceptionJul 8, 2020 5:56 pm
ReporterBadgerBadger Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version2.094 Devourers Everywhere 
Fixed in Version2.096 Space Engineering 
Summary0023369: Exception in SetSpriteIndices
DescriptionI had just lost a game I was testing when I hit this:
7/8/2020 3:32:30 PM
Exception in SetSpriteIndices at stage 300:System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.ExternalVisualization.GimbalVisualizer.SetSpriteIndices (Arcen.AIW2.ExternalVisualization.SquadVisualizer Squad) [0x00775] in <0059b74e9fbf45f9a9df2f1f646abb36>:0

  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <0ad6d48b8e214c87ad4c01369563b940>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <0ad6d48b8e214c87ad4c01369563b940>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <0ad6d48b8e214c87ad4c01369563b940>:0
  at Arcen.AIW2.ExternalVisualization.GimbalVisualizer.SetSpriteIndices (Arcen.AIW2.ExternalVisualization.SquadVisualizer Squad) [0x00000] in <0059b74e9fbf45f9a9df2f1f646abb36>:0
  at Arcen.AIW2.ExternalVisualization.GimbalVisualizer.UpdateValuesIfDirty (Arcen.AIW2.Core.TeamColorDefinition TeamCenterColor, Arcen.AIW2.Core.TeamColorDefinition TeamBorderColor, System.Boolean IsRemains, Arcen.AIW2.ExternalVisualization.SquadVisualizer Squad) [0x00000] in <0059b74e9fbf45f9a9df2f1f646abb36>:0
  at Arcen.AIW2.ExternalVisualization.SquadVisualizer.UpdateSprites (System.Single BaseShipIconScale) [0x00000] in <0059b74e9fbf45f9a9df2f1f646abb36>:0
  at Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.HandleSpriteUpdates () [0x00000] in <0059b74e9fbf45f9a9df2f1f646abb36>:0
  at Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.RunPlanetUpdateTree () [0x00000] in <0059b74e9fbf45f9a9df2f1f646abb36>:0
  at Arcen.AIW2.ExternalVisualization.BattlefieldVisualSingleton.RunUpdate () [0x00000] in <0059b74e9fbf45f9a9df2f1f646abb36>:0
TagsNo tags attached.

Activities

Chris_McElligottPark

Jul 8, 2020 5:49 pm

administrator   ~0057528

Were there any other errors prior to this?

BadgerBadger

Jul 8, 2020 5:56 pm

manager   ~0057529

Last edited: Jul 8, 2020 5:56 pm

Nope, it was running just fine. I was murdered by some very powerful exos after triggering the nomad planet crash effect. The error I think happened shortly after I clicked "Yes continue game even though I'm dead", but possibly it was just before?

7/8/2020 3:31:55 PM Moving nomad planet Nomad 3 previous galaxy location was (-667,-169) and new location is (-672,-146). old angle: 194.22 new angle: 192.22
7/8/2020 3:31:58 PM It is 2710 and the next exo is in 2730. This wave is strength 106778
7/8/2020 3:32:02 PM It is 2730 and the next exo is in 2750. This wave is strength 106778
7/8/2020 3:32:06 PM It is 2750 and the next exo is in 2770. This wave is strength 106778
7/8/2020 3:32:10 PM It is 2770 and the next exo is in 2790. This wave is strength 106778
7/8/2020 3:32:14 PM It is 2790 and the next exo is in 2810. This wave is strength 106778
7/8/2020 3:32:18 PM <color=#318ce7>Badger</color> used cheat on planet ArturHawkwing with result:</color> All enemy units of faction Badger killed on planet ArturHawkwing (there were 218). 400 units were skipped because they were of 'never target' status.
7/8/2020 3:32:23 PM It is 2810 and the next exo is in 2830. This wave is strength 106778
7/8/2020 3:32:30 PM
Exception in SetSpriteIndices at stage 300:System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.ExternalVisualization.GimbalVisualizer.SetSpriteIndices (Arcen.AIW2.ExternalVisualization.SquadVisualizer Squad) [0x00775] in <0059b74e9fbf45f9a9df2f1f646abb36>:0

Chris_McElligottPark

Jul 8, 2020 5:56 pm

administrator   ~0057530

Nevermind, this was a more external method than I thought it was.

* Fixed several places in SetSpriteIndices() where there could be nullref exceptions if threads disagreed at just the wrong times (one tearing down while one draws).


Thanks!

Issue History

Date Modified Username Field Change
Jul 8, 2020 5:33 pm BadgerBadger New Issue
Jul 8, 2020 5:33 pm BadgerBadger Status new => assigned
Jul 8, 2020 5:33 pm BadgerBadger Assigned To => Chris_McElligottPark
Jul 8, 2020 5:49 pm Chris_McElligottPark Note Added: 0057528
Jul 8, 2020 5:56 pm BadgerBadger Note Added: 0057529
Jul 8, 2020 5:56 pm Chris_McElligottPark Status assigned => resolved
Jul 8, 2020 5:56 pm Chris_McElligottPark Resolution open => fixed
Jul 8, 2020 5:56 pm Chris_McElligottPark Fixed in Version => 2.096 Space Engineering
Jul 8, 2020 5:56 pm Chris_McElligottPark Note Added: 0057530
Jul 8, 2020 5:56 pm BadgerBadger Note Edited: 0057529