View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0022595 | AI War 2 | Crash/Exception | Jan 12, 2020 10:41 am | Jan 12, 2020 1:41 pm | |
Reporter | Daniexpert | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | 1.3 The Grand New AI | ||||
Fixed in Version | 1.302 Frigate Empowerment | ||||
Summary | 0022595: NullReferenceException with a spam of errors in the log | ||||
Description | The error in "errors_spam.txt" is spammed in the log filling it up (hundreds of lines per second), so I lost the initial logging. I retrieved the Engine Error which I assume is correlated to the spam. I got also another exception which is similar to the one above (both in the "exceptions.txt" file). All this is causing my game to run as low as 30% performance on 1x speed, like it's accumulating lag, because it doesn't immediately slow down, but as time passes. | ||||
Tags | No tags attached. | ||||
|
errors_spam.txt (566 bytes)
1/12/2020 4:29:12 PM CalculateRequestedFlows exception hit. debugCode 360 exception System.NullReferenceException: Object reference not set to an instance of an object at Arcen.AIW2.External.MetalFlowPlanning.CheckClaimable (Arcen.AIW2.Core.GameEntity_Squad claimable) [0x00003] in <46fa522b90e7422aad805338d8dc0dc3>:0 at Arcen.AIW2.External.MetalFlowPlanning.CalculateRequestedFlows (Arcen.Universal.FInt effectiveDeltaTime, Arcen.AIW2.Core.PlanetFaction pFaction, Arcen.AIW2.Core.GameEntity_Squad entity) [0x00550] in <46fa522b90e7422aad805338d8dc0dc3>:0 exceptions.txt (1,622 bytes)
1/12/2020 4:25:41 PM (1.300) Mem: 511,385,600 Mode: Host Plat:WindowsPlayer -----------------------------------ErrorsReportedByEngine----------------------------------- ----------- NullReferenceException: Object reference not set to an instance of an object Stack Trace: Arcen.Universal.FramePartTimings.Reset () (at <a4d5b0db11d849b18d7c944b5f8fe508>:0) Arcen.Universal.Engine_Universal.StartNewFrameTimingsLoop () (at <a4d5b0db11d849b18d7c944b5f8fe508>:0) Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () (at <a4d5b0db11d849b18d7c944b5f8fe508>:0) ArcenGameController.Update () (at <e6e5a3bb9cbe4033b68586a246cf0d60>:0) 1/12/2020 4:27:36 PM (1.300) Mem: 475,512,832 Mode: Host Plat:WindowsPlayer -----------------------------------ErrorsReportedByEngine----------------------------------- ----------- IndexOutOfRangeException: Index was outside the bounds of the array. Stack Trace: (wrapper stelemref) System.Object.virt_stelemref_class_small_idepth(intptr,object) System.Collections.Generic.List`1[T].Add (T item) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0) Arcen.Universal.FramePartTimings.GetOrAddTiming (Arcen.Universal.FramePartTimings+TimingType Type, System.String TimingName) (at <a4d5b0db11d849b18d7c944b5f8fe508>:0) PresentationLayer_AIW2.UpdateGameController () (at <3d51acf4fb354a45813cac5f1101f51a>:0) Arcen.AIW2.Core.Engine_AIW2.OnUpdate_GameSpecificEngine () (at <907ba1a81c114df7917387c9b7011088>:0) Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () (at <a4d5b0db11d849b18d7c944b5f8fe508>:0) ArcenGameController.Update () (at <e6e5a3bb9cbe4033b68586a246cf0d60>:0) |
|
Thanks! * Fixed an exception in the claiming code for neutral entities that could happen and then spam the log endlessly. |
|
Thanks! * Fixed a really rare and strange error that could sometimes happen in FramePartTimings. This happened to Chris periodically for the last year, but it had never been seen "in the wild"" until Daniexpert ran into it. We thought it was just related to the dev environment somehow, but it seems to be a cross-threading thing that can rarely happen on startup if things go just wrongly. The game itself will run terribly and spam the world if this happens, so making it gracefully recover is a good thing. |
Date Modified | Username | Field | Change |
---|---|---|---|
Jan 12, 2020 10:41 am | Daniexpert | New Issue | |
Jan 12, 2020 10:41 am | Daniexpert | File Added: lag.save | |
Jan 12, 2020 10:41 am | Daniexpert | File Added: errors_spam.txt | |
Jan 12, 2020 10:41 am | Daniexpert | File Added: exceptions.txt | |
Jan 12, 2020 1:33 pm | Chris_McElligottPark | Note Added: 0055539 | |
Jan 12, 2020 1:41 pm | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
Jan 12, 2020 1:41 pm | Chris_McElligottPark | Status | new => resolved |
Jan 12, 2020 1:41 pm | Chris_McElligottPark | Resolution | open => fixed |
Jan 12, 2020 1:41 pm | Chris_McElligottPark | Fixed in Version | => 1.302 Frigate Empowerment |
Jan 12, 2020 1:41 pm | Chris_McElligottPark | Note Added: 0055540 |