View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0026394 | AI War 2 | Crash/Exception | Feb 15, 2022 6:41 pm | Feb 15, 2022 9:02 pm | |
Reporter | Daniexpert | Assigned To | BadgerBadger | ||
Status | resolved | Resolution | fixed | ||
Product Version | Beta 3.804 Bug Smooshing | ||||
Fixed in Version | Beta 3.804 Bug Smooshing | ||||
Summary | 0026394: Called GetExternalBaseInfoAs<Arcen.AIW2.External.NecromancerFactionBaseInfo>() when BaseInfo was actually a different type | ||||
Description | Rev 16358 It was thrown when I clicked on the hacking tab on a planet with this listed (screenshot). | ||||
Tags | No tags attached. | ||||
|
exception.txt (2,484 bytes)
2/16/2022 12:38:50 AM 3.803 SINGLEP Error! Called GetExternalBaseInfoAs<Arcen.AIW2.External.NecromancerFactionBaseInfo>() when BaseInfo was actually a different type, Arcen.AIW2.External.AIWardenFactionBaseInfo on AIWarden at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>: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 <c0c823d568a2466cb111eb2e7b4ccaeb>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <c0c823d568a2466cb111eb2e7b4ccaeb>:0 at Arcen.AIW2.Core.Faction.GetExternalBaseInfoAs[T] () [0x00000] in <1248cd4e62fe455bb26e34331c0e7ba2>:0 at Arcen.AIW2.External.Hacking_MovePhylactery.GetCanBeHacked (Arcen.AIW2.Core.GameEntity_Squad Target, Arcen.AIW2.Core.GameEntity_Squad HackerOrNull, Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.Faction HackerFaction, Arcen.AIW2.Core.HackingType Type, System.String RelatedStringOrNull, System.Int32 RelatedIntOrNull, System.String& RejectionReasonDescription) [0x00000] in <6eea93f5bea64492ba9fa91e45aa3b76>:0 at Arcen.AIW2.External.HackingUtils.CalculateCanDoThisHack (System.String& lastNoHackReason, Arcen.AIW2.Core.GameEntity_Squad TargetToChooseFor, Arcen.AIW2.Core.Planet PlanetToChooseFor, Arcen.AIW2.Core.HackingType HackTypeToChooseFor) [0x00000] in <6eea93f5bea64492ba9fa91e45aa3b76>:0 at Arcen.AIW2.External.Window_InGameSidebarHacking+btnHackingItem.GetTextToShowFromVolatile (Arcen.Universal.ArcenDoubleCharacterBuffer buffer) [0x00000] in <6eea93f5bea64492ba9fa91e45aa3b76>:0 at Arcen.Universal.ArcenUI_Button.OnUpdateVolatileDataFromMainThread () [0x00000] in <c0c823d568a2466cb111eb2e7b4ccaeb>:0 at Arcen.Universal.ArcenUI_Window.OnUpdateVolatileDataFromMainThread () [0x00000] in <c0c823d568a2466cb111eb2e7b4ccaeb>:0 at Arcen.Universal.ArcenUI.OnUpdateVolatileDataFromMainThread () [0x00000] in <c0c823d568a2466cb111eb2e7b4ccaeb>:0 at Arcen.Universal.Engine_Universal.OnUpdateEngineUniversalFromMainThread () [0x00000] in <c0c823d568a2466cb111eb2e7b4ccaeb>:0 at Arcen.AIW2.Core.ArcenGameControllerBase.BaseUpdate () [0x00000] in <1248cd4e62fe455bb26e34331c0e7ba2>:0 at ArcenGameController.Update () [0x00000] in <63e17e5173fc4267999e44b49e187469>:0 |
|
So this is peculiar. The MovePhylactery hack is only on the NecromancerPhylactery GameEntity. The code is NecromancerFactionBaseInfo baseInfo = Target.PlanetFaction.Faction.GetExternalBaseInfoAs<NecromancerFactionBaseInfo>(); So how can the Target.PlanetFaction.Faction on a phylactery be the Warden fleet?!?! |
|
Do you have a save from this? |
|
This save should be good. I clicked on the hacking tab when on planet Karp which does not have the Phylactery. I've seen this one happen only once and never again for now. |
|
I've added some defensive code; if this bug is hit again it will be hit with different symptoms |
Date Modified | Username | Field | Change |
---|---|---|---|
Feb 15, 2022 6:41 pm | Daniexpert | New Issue | |
Feb 15, 2022 6:41 pm | Daniexpert | File Added: exception.txt | |
Feb 15, 2022 6:41 pm | Daniexpert | File Added: 2022-02-16 00_40_54-AIWar2.png | |
Feb 15, 2022 6:49 pm | BadgerBadger | Note Added: 0064513 | |
Feb 15, 2022 6:56 pm | BadgerBadger | Note Added: 0064514 | |
Feb 15, 2022 6:58 pm | Daniexpert | Note Added: 0064515 | |
Feb 15, 2022 6:58 pm | Daniexpert | File Added: testClaim.save | |
Feb 15, 2022 9:02 pm | BadgerBadger | Assigned To | => BadgerBadger |
Feb 15, 2022 9:02 pm | BadgerBadger | Status | new => resolved |
Feb 15, 2022 9:02 pm | BadgerBadger | Resolution | open => fixed |
Feb 15, 2022 9:02 pm | BadgerBadger | Fixed in Version | => Beta 3.804 Bug Smooshing |
Feb 15, 2022 9:02 pm | BadgerBadger | Note Added: 0064522 |