View Issue Details

IDProjectCategoryLast Update
0024160AI War 2Bug - GameplayNov 23, 2020 1:49 pm
ReporterIsiel Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version2.637 Threatfleet Conversion, Chat, And Clickable Planets 
Fixed in Version2.638 Why Do We Fall, Master Wayne? 
Summary0024160: strange sim hangtime
DescriptionI'm not entirely sure what's going on, but this infinite error keeps popping up. Here's the debug and the save file.
TagsNo tags attached.

Activities

Isiel

Nov 22, 2020 8:41 pm

reporter  

ArcenDebugLog.txt (343,681 bytes)
Player.log (46,684 bytes)
Player-prev.log (27,556 bytes)
will we win.save (2,389,544 bytes)

Isiel

Nov 22, 2020 8:43 pm

reporter   ~0059764

By the way, that save has all of the mods that come with the game enabled. No idea if the error has anything to do with them.

BadgerBadger

Nov 22, 2020 8:58 pm

manager   ~0059765

11/21/2020 8:23:15 PM ReinforceSpecificPlanet error at debugStage 200. Exception: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.SpecialFaction_AI.ReinforceSpecificPlanet (Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.Faction faction, Arcen.Universal.FInt originalBudgetForThisPlanet, Arcen.AIW2.Core.ArcenSimContext Context, Arcen.Universal.FInt& totalBudget, Arcen.Universal.FInt& subBudget, System.Int32[]& strengthAddedByPlanetIndex, Arcen.Universal.FInt& amountSpentAgainstBudget, Arcen.Universal.FInt& amountSpentInTotalForReal) [0x0004c] in <95950b84c65e4af9a63c716a087f813c>:0

                debugStage = 200;
                FInt boosterMultiplier = FInt.One;
                planet.DoForEntities( EntityRollupType.ReinforcementBoosters, delegate ( GameEntity_Squad entity )
                {
                    debugStage = 300;
                    FInt boost = entity.TypeData.AIReinforcementMultiplier - FInt.One;
                    boosterMultiplier += boost;
                    return DelReturn.Continue;
                } );

                debugStage = 1000;

Chris_McElligottPark

Nov 23, 2020 12:13 pm

administrator   ~0059767

Thanks! I was able to verify the issue, and also verify that it no longer happens. :)

* Fixed an unusual error that was possible to happen in ReinforceSpecificPlanet(). Not sure why this was happening, but there's a vague chance it may have been related to mods. At any rate, it's no longer possible to get the exception.

Isiel

Nov 23, 2020 1:48 pm

reporter   ~0059770

That's good to hear.

I feel like I keep getting the weird bugs.

Chris_McElligottPark

Nov 23, 2020 1:49 pm

administrator   ~0059772

Some people's machines are just like that, it's very odd. SirLimbo gets more cross-threading issues than everyone else combined. It's very strange, but at least he's a great test case for solving this so other people don't see them.

Issue History

Date Modified Username Field Change
Nov 22, 2020 8:41 pm Isiel New Issue
Nov 22, 2020 8:41 pm Isiel File Added: ArcenDebugLog.txt
Nov 22, 2020 8:41 pm Isiel File Added: Player.log
Nov 22, 2020 8:41 pm Isiel File Added: Player-prev.log
Nov 22, 2020 8:41 pm Isiel File Added: will we win.save
Nov 22, 2020 8:41 pm Isiel File Added: will we win.savemet
Nov 22, 2020 8:43 pm Isiel Note Added: 0059764
Nov 22, 2020 8:58 pm BadgerBadger Note Added: 0059765
Nov 23, 2020 12:13 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Nov 23, 2020 12:13 pm Chris_McElligottPark Status new => resolved
Nov 23, 2020 12:13 pm Chris_McElligottPark Resolution open => fixed
Nov 23, 2020 12:13 pm Chris_McElligottPark Fixed in Version => 2.638 Why Do We Fall, Master Wayne?
Nov 23, 2020 12:13 pm Chris_McElligottPark Note Added: 0059767
Nov 23, 2020 1:48 pm Isiel Note Added: 0059770
Nov 23, 2020 1:49 pm Chris_McElligottPark Note Added: 0059772