View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0024498 | AI War 2 | Crash/Exception | Feb 27, 2021 12:46 am | Mar 9, 2021 4:07 pm | |
Reporter | Isiel | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | reopened | ||
Product Version | Beta 2.748 Defaults And Fixes | ||||
Fixed in Version | Beta 2.754 Buffs And Bugfixes | ||||
Summary | 0024498: error when hacking on Dyson planet | ||||
Description | I was hacking for science on the Dyson planet when I was given the following error mid-hack: 2/26/2021 9:31:22 PM 2.748 SINGLEP Exception in ReactToHacking_AsPartOfMainSim for faction Zenith Dyson Sphere(Index 28), so will not run any more of those until a reload of the save. System.NullReferenceException: Object reference not set to an instance of an object at Arcen.AIW2.External.ExtensionMethodsFor_DysonData.GetDysonDataExt (Arcen.AIW2.Core.GameEntity_Squad ParentObject, Arcen.Universal.ExternalDataRetrieval RetrievalRules) [0x00001] in <a9bd7bcd5a2e449cbdeed269d1cce34e>:0 at Arcen.AIW2.External.SpecialFaction_DysonSphere.ReactToHackingStep_AsPartOfMainSim (Arcen.AIW2.Core.GameEntity_Squad hackingTarget, Arcen.Universal.FInt multiplier, Arcen.AIW2.Core.ArcenSimContext Context) [0x00001] in <a9bd7bcd5a2e449cbdeed269d1cce34e>:0 at Arcen.AIW2.External.SpecialFaction_DysonSphere.ReactToHacking_AsPartOfMainSim (Arcen.AIW2.Core.GameEntity_Squad entityBeingHacked, Arcen.Universal.FInt WaveMultiplier, Arcen.AIW2.Core.ArcenSimContext Context, Arcen.AIW2.Core.Faction overrideFaction) [0x00001] in <a9bd7bcd5a2e449cbdeed269d1cce34e>:0 at Arcen.AIW2.Core.Faction.Safe_ReactToHacking_AsPartOfMainSim (Arcen.AIW2.Core.GameEntity_Squad entityBeingHacked, Arcen.Universal.FInt WaveMultiplier, Arcen.AIW2.Core.ArcenSimContext Context, Arcen.AIW2.Core.Faction overrideFaction) [0x00024] in <87285d55aecf4eb39abd4069287ae969>:0 2/26/2021 9:31:22 PM 2.748 SINGLEP Unknown Exception in ReactToHacking_AsPartOfMainSim for faction Zenith Dyson Sphere(Index 28), so will not run any more of those until a reload of the save. Check error log to see prior recorded exception. After I closed the window, the hack went on as normal. Maybe the game wanted the Dyson Sphere to get mad when it wasn't supposed to? | ||||
Tags | No tags attached. | ||||
|
Thanks! * Updated a bunch of the code for how we find "external data" that is used by factions, mods, and various other semi-custom or fully-custom data. ** The old methods have been marked as obsolete, which will force any code-based faction-related mod authors to update to the new style before they can compile again, but it will NOT break mods in the meantime. ** For those mod authors please make sure and take a look at how we handle this in the central codebase, for instance in the dyson sphere faction or really any of them except AI Reserves (which is an odd case). There is a super-simple way for you to resolve the obsolete code, but it's actually leaving in more verbose code that does not have the extra error checking. If you swap over to instead using the new code that the main game uses, then when there are failures we will better know why. ** This overhaul was rather time consuming (most of a morning to do), but it's something that keeps coming up again and again in both multiplayer and single-player. This new code makes it so that we should be less likely to have errors there, and that if we do it should be a lot more apparent WHY we are having an error. ** Related to this, made some minor improvements to the dyson sphere check code when hacking them, but frankly it's unlikely to fix whatever the original issue was, since the original issue was actually buried down deep in this other code. The dyson bug itself may or may not be fixed, but at least if we have it happen again, we should know more about why. A savegame prior to doing a neutral planet science hack on a dyson world, if that does produce an error again, would be very welcome. |
|
Error is still happening, attaching new save. 3/6/2021 10:33:38 PM 2.752 SINGLEP Exception in ReactToHacking_AsPartOfMainSim for faction Zenith Dyson Sphere(Index 16), so will not run any more of those until a reload of the save. System.NullReferenceException: Object reference not set to an instance of an object at Arcen.AIW2.External.ExtensionMethodsFor_DysonData.GetDysonDataExt (Arcen.AIW2.Core.GameEntity_Squad ParentObject, Arcen.Universal.ExternalDataRetrieval RetrievalRules) [0x00001] in <d8ec37ed0af24cc681f10b6e216b0446>:0 at Arcen.AIW2.External.SpecialFaction_DysonSphere.ReactToHackingStep_AsPartOfMainSim (Arcen.AIW2.Core.GameEntity_Squad hackingTarget, Arcen.AIW2.Core.Faction faction, Arcen.Universal.FInt multiplier, Arcen.AIW2.Core.ArcenSimContext Context) [0x00001] in <d8ec37ed0af24cc681f10b6e216b0446>:0 at Arcen.AIW2.External.SpecialFaction_DysonSphere.ReactToHacking_AsPartOfMainSim (Arcen.AIW2.Core.GameEntity_Squad entityBeingHacked, Arcen.Universal.FInt WaveMultiplier, Arcen.AIW2.Core.ArcenSimContext Context, Arcen.AIW2.Core.Faction overrideFaction) [0x00001] in <d8ec37ed0af24cc681f10b6e216b0446>:0 at Arcen.AIW2.Core.Faction.Safe_ReactToHacking_AsPartOfMainSim (Arcen.AIW2.Core.GameEntity_Squad entityBeingHacked, Arcen.Universal.FInt WaveMultiplier, Arcen.AIW2.Core.ArcenSimContext Context, Arcen.AIW2.Core.Faction overrideFaction) [0x00024] in <a8c2c1328bad490294d0ffd699bcab0a>:0 3/6/2021 10:33:38 PM 2.752 SINGLEP Unknown Exception in ReactToHacking_AsPartOfMainSim for faction Zenith Dyson Sphere(Index 16), so will not run any more of those until a reload of the save. Check error log to see prior recorded exception. |
|
Perform the neutral science hack on Anabas to get the error |
|
Thanks! * Fixed an exception that could happen when doing the neutral planet science extraction hack (or any other non-instant planet-based hacks) against dyson sphere planets. ** All of the other factions are checked and are okay. |
Date Modified | Username | Field | Change |
---|---|---|---|
Feb 27, 2021 12:46 am | Isiel | New Issue | |
Mar 1, 2021 2:23 pm | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
Mar 1, 2021 2:23 pm | Chris_McElligottPark | Status | new => resolved |
Mar 1, 2021 2:23 pm | Chris_McElligottPark | Resolution | open => fixed |
Mar 1, 2021 2:23 pm | Chris_McElligottPark | Fixed in Version | => Beta 2.750 Bastions And Tuning |
Mar 1, 2021 2:23 pm | Chris_McElligottPark | Note Added: 0060667 | |
Mar 6, 2021 10:46 pm | Metrekec | Status | resolved => new |
Mar 6, 2021 10:46 pm | Metrekec | Resolution | fixed => reopened |
Mar 6, 2021 10:46 pm | Metrekec | Note Added: 0060697 | |
Mar 6, 2021 10:47 pm | Metrekec | File Added: fatalexceptionneutraldyson.save | |
Mar 6, 2021 10:47 pm | Metrekec | Note Added: 0060698 | |
Mar 9, 2021 4:07 pm | Chris_McElligottPark | Status | new => resolved |
Mar 9, 2021 4:07 pm | Chris_McElligottPark | Fixed in Version | Beta 2.750 Bastions And Tuning => Beta 2.754 Buffs And Bugfixes |
Mar 9, 2021 4:07 pm | Chris_McElligottPark | Note Added: 0060711 |