View Issue Details

IDProjectCategoryLast Update
0019007AI War 2Crash/ExceptionMar 6, 2017 8:03 am
ReporterBadgerBadger Assigned Tokeith.lamothe  
Severityminor 
Status resolvedResolutionfixed 
Product Version0.104 
Fixed in Version0.105 and 0.106 
Summary0019007: NullReferenceException: Object reference not set (GetIsFriendlyToLocalSide)
DescriptionI had a game that was pretty far advanced; lots of ships and so on. I saved the game, then reloaded it to see if that would work, and I hit an Exception:


3/3/2017 6:47:41 PM (0.104) Mem: 102,064,128 Mode: Host Plat:LinuxPlayer
-----------------------------------ErrorsReportedByEngine-----------------------------------
-----------
NullReferenceException: Object reference not set to an instance of an object
Stack Trace: Arcen.AIW2.Core.CombatSide.GetIsFriendlyToLocalSide () (at D:/vclarge/AI_War_2_Ultra/ArcenAIW2Core/src/Logic/GameState/CombatEncounter/CombatSide.cs:148)
SelectionManager.parseGameObjectForSelection (UnityEngine.GameObject sender) (at D:/vclarge/AI_War_2_Ultra/ArcenAIW2Visualization/src/SelectionManager/SelectionManager.cs:172)
SelectionManager.Update () (at D:/vclarge/AI_War_2_Ultra/ArcenAIW2Visualization/src/SelectionManager/SelectionManager.cs:153)


TagsNo tags attached.

Activities

BadgerBadger

Mar 3, 2017 6:53 pm

manager   ~0045881

To be more clear, what I did was mouse over the galaxy screen to find the planet with my fleet, then enter that planet, unpause and start trying to click on things, or select portions of fleet.

I've recreated it doing approximately the above steps when loading from my save file 3 out of 4 tries.

BadgerBadger

Mar 3, 2017 6:54 pm

manager  

NewSave_1.save (727,918 bytes)

BadgerBadger

Mar 3, 2017 7:04 pm

manager   ~0045883

Unfortunately, once I stopped the AI War 2 binary and restarted the game, loading the save file did not allow me to reproduce the problem.

It might also be worth noting that I had already destroyed an AI master controller when I generated the save file.

keith.lamothe

Mar 6, 2017 8:03 am

administrator   ~0045890

For 0.105:

* Fixed a null-exception bug.

Thanks :)

Issue History

Date Modified Username Field Change
Mar 3, 2017 6:50 pm BadgerBadger New Issue
Mar 3, 2017 6:53 pm BadgerBadger Note Added: 0045881
Mar 3, 2017 6:54 pm BadgerBadger File Added: NewSave_1.save
Mar 3, 2017 7:04 pm BadgerBadger Note Added: 0045883
Mar 6, 2017 8:03 am keith.lamothe Note Added: 0045890
Mar 6, 2017 8:03 am keith.lamothe Status new => resolved
Mar 6, 2017 8:03 am keith.lamothe Fixed in Version => 0.105 and 0.106
Mar 6, 2017 8:03 am keith.lamothe Resolution open => fixed
Mar 6, 2017 8:03 am keith.lamothe Assigned To => keith.lamothe