[1.0.2.6]CTD - Few crashed reports

Moderator: MOD_DW2

Post Reply
firemad
Posts: 97
Joined: Sun Mar 13, 2022 3:15 pm

[1.0.2.6]CTD - Few crashed reports

Post by firemad »

Hi,

I got a few crash reports on 1.0.2.6

Some event viewer:

Code: Select all

The program DistantWorlds2.exe version 1.0.2.6 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel.
 Process ID: 3a90
 Start Time: 01d8408e6b44861c
 Termination Time: 7
 Application Path: C:\Program Files (x86)\Steam\steamapps\common\Distant Worlds 2\DistantWorlds2.exe
 Report Id: 3211eec6-c3f5-49ad-8f94-99af41e1035c
 Faulting package full name: 
 Faulting package-relative application ID: 
 Hang type: Unknown

Code: Select all

Application: DistantWorlds2.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: SharpDX.SharpDXException
   at SharpDX.Result.CheckError()
   at SharpDX.Direct3D11.Device.CreateTexture2D(SharpDX.Direct3D11.Texture2DDescription ByRef, SharpDX.DataBox[], SharpDX.Direct3D11.Texture2D)
   at Xenko.Graphics.Texture.InitializeFromImpl(Xenko.Graphics.DataBox[])
   at Xenko.Graphics.Texture.InitializeFrom(Xenko.Graphics.Texture, Xenko.Graphics.TextureDescription, Xenko.Graphics.TextureViewDescription, Xenko.Graphics.DataBox[])
   at Xenko.Graphics.Data.TextureContentSerializer.Serialize(Xenko.Core.Serialization.ArchiveMode, Xenko.Core.Serialization.SerializationStream, Xenko.Graphics.Texture, Boolean)
   at Xenko.Core.Serialization.Contents.ContentManager.DeserializeObject(System.Collections.Generic.Queue`1<DeserializeOperation>, Reference, System.String, System.Type, System.Object, Xenko.Core.Serialization.Contents.ContentManagerLoaderSettings)

Exception Info: Xenko.Core.Serialization.Contents.ContentManagerException
   at Xenko.Core.Serialization.Contents.ContentManager.DeserializeObject(System.Collections.Generic.Queue`1<DeserializeOperation>, Reference, System.String, System.Type, System.Object, Xenko.Core.Serialization.Contents.ContentManagerLoaderSettings)
   at Xenko.Core.Serialization.Contents.ContentManager.DeserializeObject(System.String, System.String, System.Type, System.Object, Xenko.Core.Serialization.Contents.ContentManagerLoaderSettings)
   at Xenko.Core.Serialization.Contents.ContentManager.Load(System.Type, System.String, Xenko.Core.Serialization.Contents.ContentManagerLoaderSettings)
   at Xenko.Core.Serialization.Contents.ContentManager.Load[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.String, Xenko.Core.Serialization.Contents.ContentManagerLoaderSettings)
   at DistantWorlds2.EffectHelper.CreateSkyboxLight(Xenko.Core.Mathematics.Color, Single, Xenko.Core.Serialization.Contents.ContentManager)
   at DistantWorlds2.ScaledRenderer.UpdateBackgroundScene(Xenko.Graphics.GraphicsDevice, Single, Double)
   at DistantWorlds2.ScaledRenderer.GenerateBackgroundScene(Xenko.Graphics.GraphicsDevice, DistantWorlds.Types.OrbType, DistantWorlds.Types.Race, DistantWorlds.Types.ShipRole, Boolean, System.Random)
   at DistantWorlds2.ScaledRenderer.GenerateBackgroundScene(Xenko.Graphics.GraphicsDevice)
   at DistantWorlds2.ScaledRenderer.CheckGenerateMenuBackgroundScene(DistantWorlds2.MenuRenderer, DistantWorlds2.MenuRenderer)
   at DistantWorlds2.DWGame.Update(Xenko.Games.GameTime)
   at Xenko.Games.GameBase.InitializeBeforeRun()
   at Xenko.Games.GamePlatform.OnInitCallback()
   at Xenko.Games.GameWindowWinforms.Run()
   at Xenko.Games.GameBase.Run(Xenko.Games.GameContext)
   at pEAwpVnEZUwc0gdg9r.FN2gcyIdVlY9Zn2dlv.WxiI8ujXYUKLJwLFvmB(System.Object, System.Object)
   at pEAwpVnEZUwc0gdg9r.FN2gcyIdVlY9Zn2dlv.N2BgVaNXY(System.Object)
   at <PrivateImplementationDetails>{C5833468-2919-456D-9DB7-CC30185EF2D8}.Main(System.String[])

Code: Select all

Faulting application name: DistantWorlds2.exe, version: 1.0.2.6, time stamp: 0xc579a40c
Faulting module name: KERNELBASE.dll, version: 10.0.22000.527, time stamp: 0x71a5cb5d
Exception code: 0xe0434352
Fault offset: 0x000000000004478c
Faulting process id: 0x28bc
Faulting application start time: 0x01d84091c319a7cb
Faulting application path: C:\Program Files (x86)\Steam\steamapps\common\Distant Worlds 2\DistantWorlds2.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: c85d1295-300a-4546-a2ef-8288267f27ef
Faulting package full name: 
Faulting package-relative application ID: 
Hope it can help .

I zipped the files because I had too much logs for the forums :mrgreen:
Attachments
DW2_CrashDump 25-03-2022.zip
(21.86 KiB) Downloaded 11 times
firemad
Posts: 97
Joined: Sun Mar 13, 2022 3:15 pm

Re: [1.0.2.6]CTD - Few crashed reports

Post by firemad »

For some reasons I crash more often on 1.0.2.6.

Here another crash reports.
Attachments
SessionLog.txt
(166.19 KiB) Downloaded 11 times
DW2_CrashDump 25-03-2022 18-05-57.txt
(5.5 KiB) Downloaded 10 times
firemad
Posts: 97
Joined: Sun Mar 13, 2022 3:15 pm

Re: [1.0.2.6]CTD - Few crashed reports

Post by firemad »

I got a lot of logs without crashing this time... weird :mrgreen:

Anyways I'll post it here just in case it will help you out.
Attachments
DW2_CrashDump 25-03-2022 18-16-37.zip
(109.14 KiB) Downloaded 11 times
firemad
Posts: 97
Joined: Sun Mar 13, 2022 3:15 pm

Re: [1.0.2.6]CTD - Few crashed reports

Post by firemad »

Save game just in case you need it :)
Attachments
Gecko3.zip
(6.75 MiB) Downloaded 9 times
firemad
Posts: 97
Joined: Sun Mar 13, 2022 3:15 pm

Re: [1.0.2.6]CTD - Few crashed reports

Post by firemad »

Another crash when I accepted to end my war...

Code: Select all

The program DistantWorlds2.exe version 1.0.2.6 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel.
 Process ID: 2964
 Start Time: 01d840a063e2b1ef
 Termination Time: 6
 Application Path: C:\Program Files (x86)\Steam\steamapps\common\Distant Worlds 2\DistantWorlds2.exe
 Report Id: ae8925bc-a99d-4b3c-941b-20dd3af6be7c
 Faulting package full name: 
 Faulting package-relative application ID: 
 Hang type: Unknown
Attachments
DW2_CrashDump 25-03-2022 19-41-44.zip
(10.8 KiB) Downloaded 6 times
User avatar
Shogouki
Posts: 200
Joined: Sun Aug 11, 2013 7:35 pm

Re: [1.0.2.6]CTD - Few crashed reports

Post by Shogouki »

Yeah I didn't crash at all on the last version but I have started to on 1.0.2.6. Unfortunately the crashes on this version seem to be generating upwards of 10 crash logs per crash. I've had one on zooming in and several on trying to save.

EDIT:I think this is no longer relevant, I believe my crashing problem was due to using pre-1.0.2.6. saves.
Last edited by Shogouki on Sat Mar 26, 2022 6:34 am, edited 1 time in total.
firemad
Posts: 97
Joined: Sun Mar 13, 2022 3:15 pm

Re: [1.0.2.6]CTD - Few crashed reports

Post by firemad »

Crashed on spaceport when I did a zoom on it.
Attachments
DW2_CrashDump 25-03-2022 20-49-30.txt
(5.5 KiB) Downloaded 11 times
SessionLog.txt
(110.95 KiB) Downloaded 14 times
User avatar
Erik Rutins
Posts: 39650
Joined: Tue Mar 28, 2000 4:00 pm
Location: Vermont, USA
Contact:

Re: [1.0.2.6]CTD - Few crashed reports

Post by Erik Rutins »

Shogouki wrote: Sat Mar 26, 2022 12:25 am Yeah I didn't crash at all on the last version but I have started to on 1.0.2.6. Unfortunately the crashes on this version seem to be generating upwards of 10 crash logs per crash. I've had one on zooming in and several on trying to save.

EDIT:I think this is no longer relevant, I believe my crashing problem was due to using pre-1.0.2.6. saves.
Please try the 1.0.2.7 hotfix if you are willing (see the pinned thread).
Erik Rutins
CEO, Matrix Games LLC


Image

For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/

Freedom is not Free.
User avatar
Shogouki
Posts: 200
Joined: Sun Aug 11, 2013 7:35 pm

Re: [1.0.2.6]CTD - Few crashed reports

Post by Shogouki »

I will give it a try! Is this supposed to retroactively help on my saves from 1.0.2.4 or should I just consider those saves gone?
currierm
Posts: 51
Joined: Thu Sep 09, 2010 4:07 am

Re: [1.0.2.6]CTD - Few crashed reports

Post by currierm »

The game is crashing every hour or so of play. The compressed save file is well over 10 MB, so can't easily attach a save file.


System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at DistantWorlds.Types.Ship.EvaluateAdequateAttackers(Empire empire, StellarObject target, Boolean includeFighters, Single& totalAttackStrength, Single& targetStrength)
at DistantWorlds.Types.Ship.ThreatEvaluation(DateTime time, Int64 starDate, Design design, ShipHull shipHull, Empire empire, Location location, BattleTactics tactics, Boolean attackTargetsMustStillBeThreats, Boolean allowFightersAsPrimaryTarget, Nullable`1 invasionRetreatOverride)
at DistantWorlds.Types.Ship.CheckAutoAssignMission(ShipMissionType previousMissionType, Int64 starDate, DateTime time, Design design, ShipHull shipHull, Empire empire, Location location, BattleTactics tactics)
at DistantWorlds.Types.Ship.ProcessMission(DateTime time, Single timePassed, Int64 starDate, Empire empire, Design design, ShipHull shipHull, BattleTactics tactics, Location& location, Boolean inView)
at DistantWorlds.Types.Ship.DoTasks(DateTime time, Galaxy galaxy, Boolean inView)
at DistantWorlds.Types.Ship.ProcessFighters(DateTime time, Galaxy galaxy, Location location, Boolean inView)
at DistantWorlds.Types.Ship.DoTasks(DateTime time, Galaxy galaxy, Boolean inView)
at DistantWorlds.Types.GameClient.ProcessLogicBlocks(Galaxy galaxy, DateTime time, Int32 shipStartIndex, Int32 shipEndIndex, Int32 creatureStartIndex, Int32 creatureEndIndex, Int32 locationStartIndex, Int32 locationEndIndex)
at DistantWorlds.Types.GameClient.AddClientTask(Galaxy galaxy, DateTime time)
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at DistantWorlds.Types.Ship.EvaluateAdequateAttackers(Empire empire, StellarObject target, Boolean includeFighters, Single& totalAttackStrength, Single& targetStrength)
at DistantWorlds.Types.Ship.ThreatEvaluation(DateTime time, Int64 starDate, Design design, ShipHull shipHull, Empire empire, Location location, BattleTactics tactics, Boolean attackTargetsMustStillBeThreats, Boolean allowFightersAsPrimaryTarget, Nullable`1 invasionRetreatOverride)
at DistantWorlds.Types.Ship.CheckAutoAssignMission(ShipMissionType previousMissionType, Int64 starDate, DateTime time, Design design, ShipHull shipHull, Empire empire, Location location, BattleTactics tactics)
at DistantWorlds.Types.Ship.ProcessMission(DateTime time, Single timePassed, Int64 starDate, Empire empire, Design design, ShipHull shipHull, BattleTactics tactics, Location& location, Boolean inView)
at DistantWorlds.Types.Ship.DoTasks(DateTime time, Galaxy galaxy, Boolean inView)
at DistantWorlds.Types.Ship.ProcessFighters(DateTime time, Galaxy galaxy, Location location, Boolean inView)
at DistantWorlds.Types.Ship.DoTasks(DateTime time, Galaxy galaxy, Boolean inView)
at DistantWorlds.Types.GameClient.ProcessLogicBlocks(Galaxy galaxy, DateTime time, Int32 shipStartIndex, Int32 shipEndIndex, Int32 creatureStartIndex, Int32 creatureEndIndex, Int32 locationStartIndex, Int32 locationEndIndex)
at DistantWorlds.Types.GameClient.AddClientTask(Galaxy galaxy, DateTime time)
at System.Threading.Tasks.Task.Execute()<---
User avatar
Erik Rutins
Posts: 39650
Joined: Tue Mar 28, 2000 4:00 pm
Location: Vermont, USA
Contact:

Re: [1.0.2.6]CTD - Few crashed reports

Post by Erik Rutins »

currierm wrote: Sun Mar 27, 2022 3:16 am The game is crashing every hour or so of play. The compressed save file is well over 10 MB, so can't easily attach a save file.


System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at DistantWorlds.Types.Ship.EvaluateAdequateAttackers(Empire empire, StellarObject target, Boolean includeFighters, Single& totalAttackStrength, Single& targetStrength)
at DistantWorlds.Types.Ship.ThreatEvaluation(DateTime time, Int64 starDate, Design design, ShipHull shipHull, Empire empire, Location location, BattleTactics tactics, Boolean attackTargetsMustStillBeThreats, Boolean allowFightersAsPrimaryTarget, Nullable`1 invasionRetreatOverride)
at DistantWorlds.Types.Ship.CheckAutoAssignMission(ShipMissionType previousMissionType, Int64 starDate, DateTime time, Design design, ShipHull shipHull, Empire empire, Location location, BattleTactics tactics)
at DistantWorlds.Types.Ship.ProcessMission(DateTime time, Single timePassed, Int64 starDate, Empire empire, Design design, ShipHull shipHull, BattleTactics tactics, Location& location, Boolean inView)
at DistantWorlds.Types.Ship.DoTasks(DateTime time, Galaxy galaxy, Boolean inView)
at DistantWorlds.Types.Ship.ProcessFighters(DateTime time, Galaxy galaxy, Location location, Boolean inView)
at DistantWorlds.Types.Ship.DoTasks(DateTime time, Galaxy galaxy, Boolean inView)
at DistantWorlds.Types.GameClient.ProcessLogicBlocks(Galaxy galaxy, DateTime time, Int32 shipStartIndex, Int32 shipEndIndex, Int32 creatureStartIndex, Int32 creatureEndIndex, Int32 locationStartIndex, Int32 locationEndIndex)
at DistantWorlds.Types.GameClient.AddClientTask(Galaxy galaxy, DateTime time)
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at DistantWorlds.Types.Ship.EvaluateAdequateAttackers(Empire empire, StellarObject target, Boolean includeFighters, Single& totalAttackStrength, Single& targetStrength)
at DistantWorlds.Types.Ship.ThreatEvaluation(DateTime time, Int64 starDate, Design design, ShipHull shipHull, Empire empire, Location location, BattleTactics tactics, Boolean attackTargetsMustStillBeThreats, Boolean allowFightersAsPrimaryTarget, Nullable`1 invasionRetreatOverride)
at DistantWorlds.Types.Ship.CheckAutoAssignMission(ShipMissionType previousMissionType, Int64 starDate, DateTime time, Design design, ShipHull shipHull, Empire empire, Location location, BattleTactics tactics)
at DistantWorlds.Types.Ship.ProcessMission(DateTime time, Single timePassed, Int64 starDate, Empire empire, Design design, ShipHull shipHull, BattleTactics tactics, Location& location, Boolean inView)
at DistantWorlds.Types.Ship.DoTasks(DateTime time, Galaxy galaxy, Boolean inView)
at DistantWorlds.Types.Ship.ProcessFighters(DateTime time, Galaxy galaxy, Location location, Boolean inView)
at DistantWorlds.Types.Ship.DoTasks(DateTime time, Galaxy galaxy, Boolean inView)
at DistantWorlds.Types.GameClient.ProcessLogicBlocks(Galaxy galaxy, DateTime time, Int32 shipStartIndex, Int32 shipEndIndex, Int32 creatureStartIndex, Int32 creatureEndIndex, Int32 locationStartIndex, Int32 locationEndIndex)
at DistantWorlds.Types.GameClient.AddClientTask(Galaxy galaxy, DateTime time)
at System.Threading.Tasks.Task.Execute()<---
This is fixed in the 1.0.2.7 manual hotfix.
Erik Rutins
CEO, Matrix Games LLC


Image

For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/

Freedom is not Free.
User avatar
Erik Rutins
Posts: 39650
Joined: Tue Mar 28, 2000 4:00 pm
Location: Vermont, USA
Contact:

Re: [1.0.2.6]CTD - Few crashed reports

Post by Erik Rutins »

Shogouki wrote: Sun Mar 27, 2022 1:03 am I will give it a try! Is this supposed to retroactively help on my saves from 1.0.2.4 or should I just consider those saves gone?
You should be able to continue your games.
Erik Rutins
CEO, Matrix Games LLC


Image

For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/

Freedom is not Free.
plong999
Posts: 7
Joined: Mon Oct 01, 2018 1:06 pm

Re: [1.0.2.6]CTD - Few crashed reports

Post by plong999 »

Distant Worlds - Crash Dump - Version 1.0.2.6

12:33:52 AM March 27, 2022


System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at DistantWorlds.Types.Ship.EvaluateAdequateAttackers(Empire empire, StellarObject target, Boolean includeFighters, Single& totalAttackStrength, Single& targetStrength)
at DistantWorlds.Types.Ship.ThreatEvaluation(DateTime time, Int64 starDate, Design design, ShipHull shipHull, Empire empire, Location location, BattleTactics tactics, Boolean attackTargetsMustStillBeThreats, Boolean allowFightersAsPrimaryTarget, Nullable`1 invasionRetreatOverride)
at DistantWorlds.Types.Ship.CheckAutoAssignMission(ShipMissionType previousMissionType, Int64 starDate, DateTime time, Design design, ShipHull shipHull, Empire empire, Location location, BattleTactics tactics)
at DistantWorlds.Types.Ship.ProcessMission(DateTime time, Single timePassed, Int64 starDate, Empire empire, Design design, ShipHull shipHull, BattleTactics tactics, Location& location, Boolean inView)
at DistantWorlds.Types.Ship.DoTasks(DateTime time, Galaxy galaxy, Boolean inView)
at DistantWorlds.Types.GameClient.ProcessLogicBlocks(Galaxy galaxy, DateTime time, Int32 shipStartIndex, Int32 shipEndIndex, Int32 creatureStartIndex, Int32 creatureEndIndex, Int32 locationStartIndex, Int32 locationEndIndex)
at DistantWorlds.Types.GameClient.AddClientTask(Galaxy galaxy, DateTime time)
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at DistantWorlds.Types.Ship.EvaluateAdequateAttackers(Empire empire, StellarObject target, Boolean includeFighters, Single& totalAttackStrength, Single& targetStrength)
at DistantWorlds.Types.Ship.ThreatEvaluation(DateTime time, Int64 starDate, Design design, ShipHull shipHull, Empire empire, Location location, BattleTactics tactics, Boolean attackTargetsMustStillBeThreats, Boolean allowFightersAsPrimaryTarget, Nullable`1 invasionRetreatOverride)
at DistantWorlds.Types.Ship.CheckAutoAssignMission(ShipMissionType previousMissionType, Int64 starDate, DateTime time, Design design, ShipHull shipHull, Empire empire, Location location, BattleTactics tactics)
at DistantWorlds.Types.Ship.ProcessMission(DateTime time, Single timePassed, Int64 starDate, Empire empire, Design design, ShipHull shipHull, BattleTactics tactics, Location& location, Boolean inView)
at DistantWorlds.Types.Ship.DoTasks(DateTime time, Galaxy galaxy, Boolean inView)
at DistantWorlds.Types.GameClient.ProcessLogicBlocks(Galaxy galaxy, DateTime time, Int32 shipStartIndex, Int32 shipEndIndex, Int32 creatureStartIndex, Int32 creatureEndIndex, Int32 locationStartIndex, Int32 locationEndIndex)
at DistantWorlds.Types.GameClient.AddClientTask(Galaxy galaxy, DateTime time)
at System.Threading.Tasks.Task.Execute()<---



Further info follows:

System.NullReferenceException: Object reference not set to an instance of an object.
at DistantWorlds.Types.Ship.EvaluateAdequateAttackers(Empire empire, StellarObject target, Boolean includeFighters, Single& totalAttackStrength, Single& targetStrength)
at DistantWorlds.Types.Ship.ThreatEvaluation(DateTime time, Int64 starDate, Design design, ShipHull shipHull, Empire empire, Location location, BattleTactics tactics, Boolean attackTargetsMustStillBeThreats, Boolean allowFightersAsPrimaryTarget, Nullable`1 invasionRetreatOverride)
at DistantWorlds.Types.Ship.CheckAutoAssignMission(ShipMissionType previousMissionType, Int64 starDate, DateTime time, Design design, ShipHull shipHull, Empire empire, Location location, BattleTactics tactics)
at DistantWorlds.Types.Ship.ProcessMission(DateTime time, Single timePassed, Int64 starDate, Empire empire, Design design, ShipHull shipHull, BattleTactics tactics, Location& location, Boolean inView)
at DistantWorlds.Types.Ship.DoTasks(DateTime time, Galaxy galaxy, Boolean inView)
at DistantWorlds.Types.GameClient.ProcessLogicBlocks(Galaxy galaxy, DateTime time, Int32 shipStartIndex, Int32 shipEndIndex, Int32 creatureStartIndex, Int32 creatureEndIndex, Int32 locationStartIndex, Int32 locationEndIndex)
at DistantWorlds.Types.GameClient.AddClientTask(Galaxy galaxy, DateTime time)
at System.Threading.Tasks.Task.Execute()


--- COMPLETE ---
sent my dxdiag previously
lrdkzi
Posts: 2
Joined: Wed Mar 23, 2022 3:33 am

Re: [1.0.2.6]CTD - Few crashed reports

Post by lrdkzi »

Similar to a few others.

Edit: Will give 1.0.2.7 a try

Code: Select all

System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at DistantWorlds.Types.Ship.EvaluateAdequateAttackers(Empire empire, StellarObject target, Boolean includeFighters, Single& totalAttackStrength, Single& targetStrength)
   at DistantWorlds.Types.Ship.ThreatEvaluation(DateTime time, Int64 starDate, Design design, ShipHull shipHull, Empire empire, Location location, BattleTactics tactics, Boolean attackTargetsMustStillBeThreats, Boolean allowFightersAsPrimaryTarget, Nullable`1 invasionRetreatOverride)
   at DistantWorlds.Types.Ship.CheckAutoAssignMission(ShipMissionType previousMissionType, Int64 starDate, DateTime time, Design design, ShipHull shipHull, Empire empire, Location location, BattleTactics tactics)
   at DistantWorlds.Types.Ship.ProcessMission(DateTime time, Single timePassed, Int64 starDate, Empire empire, Design design, ShipHull shipHull, BattleTactics tactics, Location& location, Boolean inView)
   at DistantWorlds.Types.Ship.DoTasks(DateTime time, Galaxy galaxy, Boolean inView)
   at DistantWorlds.Types.GameClient.ProcessLogicBlocks(Galaxy galaxy, DateTime time, Int32 shipStartIndex, Int32 shipEndIndex, Int32 creatureStartIndex, Int32 creatureEndIndex, Int32 locationStartIndex, Int32 locationEndIndex)
   at DistantWorlds.Types.GameClient.AddClientTask(Galaxy galaxy, DateTime time)
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
   at DistantWorlds.Types.Ship.EvaluateAdequateAttackers(Empire empire, StellarObject target, Boolean includeFighters, Single& totalAttackStrength, Single& targetStrength)
   at DistantWorlds.Types.Ship.ThreatEvaluation(DateTime time, Int64 starDate, Design design, ShipHull shipHull, Empire empire, Location location, BattleTactics tactics, Boolean attackTargetsMustStillBeThreats, Boolean allowFightersAsPrimaryTarget, Nullable`1 invasionRetreatOverride)
   at DistantWorlds.Types.Ship.CheckAutoAssignMission(ShipMissionType previousMissionType, Int64 starDate, DateTime time, Design design, ShipHull shipHull, Empire empire, Location location, BattleTactics tactics)
   at DistantWorlds.Types.Ship.ProcessMission(DateTime time, Single timePassed, Int64 starDate, Empire empire, Design design, ShipHull shipHull, BattleTactics tactics, Location& location, Boolean inView)
   at DistantWorlds.Types.Ship.DoTasks(DateTime time, Galaxy galaxy, Boolean inView)
   at DistantWorlds.Types.GameClient.ProcessLogicBlocks(Galaxy galaxy, DateTime time, Int32 shipStartIndex, Int32 shipEndIndex, Int32 creatureStartIndex, Int32 creatureEndIndex, Int32 locationStartIndex, Int32 locationEndIndex)
   at DistantWorlds.Types.GameClient.AddClientTask(Galaxy galaxy, DateTime time)
   at System.Threading.Tasks.Task.Execute()<---
User avatar
Grotius
Posts: 5842
Joined: Fri Oct 18, 2002 5:34 pm
Location: The Imperial Palace.

Re: [1.0.2.6]CTD - Few crashed reports

Post by Grotius »

I'm having similar issues. Never had a problem until now. Now I crash every time at about the same moment, even while trying to save the game. (And that moment is just before I finally colonize my first independent colony, which is doubly frustrating.) Many crash dumps per crash. Changing resolution or game speed doesn't help.

I'll try the 2.7 hotfix tomorrow. Too tired now.
Image
currierm
Posts: 51
Joined: Thu Sep 09, 2010 4:07 am

Re: [1.0.2.6]CTD - Few crashed reports

Post by currierm »

The hotfix fixed the earlier crash I reported with DistantWorlds.Types.Ship.EvaluateAdequateAttackers!

However, I have a new crash. It started happening after I encountered a new empire: the Boskara Collective. It also came with a "we are the guardians event". It crashes periodically when zooming in. It happens almost all the time if I negotiate with the Boskara Collective.

Distant Worlds - Crash Dump - Version 1.0.2.8

10:02:32 PM Tuesday, March 29, 2022


System.NullReferenceException: Object reference not set to an instance of an object.
at DistantWorlds.Types.EmpireRelation.ShouldAcceptTreatyCore(Galaxy galaxy, EmpireRelationType treatyType, EmpireRelation relation, Empire offerer, Empire recipient, Boolean includeRandomFactor, Single additionalInducementValue)
at DistantWorlds.Types.DiplomacyTalkSystem.ProcessOption(DiplomacyTalkOption option, DiplomacyTalkOptionType& nextOptions, DiplomacyTalkOptionList& options, CharacterAnimationMood& incidentMood)
at DistantWorlds.UI.DiplomacyTalkPanel.ProcessOption(DiplomacyTalkOption option, CharacterAnimationMood& incidentMood)
at DistantWorlds.UI.DiplomacyConversation.TalkOptionClicked(Object sender, DWEventArgs args)
at DistantWorlds.UI.ScrollablePanel.DoMouseDiplomacyTalkOption(Point mousePoint, Boolean leftMouseButtonDown)
at DistantWorlds.UI.ScrollablePanel.DoMouseDown(Point clickPoint, Boolean isLeftClick, Empire empire, Boolean shiftDown, Boolean ctrlDown, Boolean callingFromChild)
at DistantWorlds.UI.DWControl.DoMouseDown(Point clickPoint, Boolean isLeftClick, Empire empire, Boolean shiftDown, Boolean ctrlDown, Boolean callingFromChild)
at DistantWorlds.UI.DWPanel.DoMouseDown(Point clickPoint, Boolean isLeftClick, Empire empire, Boolean shiftDown, Boolean ctrlDown, Boolean callingFromChild)
at DistantWorlds.UI.UserInterfaceController.DoMouseDown(GameSettings gameSettings, Point clickPoint, Boolean isLeftClick, Empire empire, Boolean shiftDown, Boolean ctrlDown)
at DistantWorlds2.InputSystem.Update(InputManager inputManager, GameSettings gameSettings, GameTime gameTime, Single timePassed, Single timeInSeconds)
at DistantWorlds2.DWGame.Update(GameTime gameTime)
User avatar
Erik Rutins
Posts: 39650
Joined: Tue Mar 28, 2000 4:00 pm
Location: Vermont, USA
Contact:

Re: [1.0.2.6]CTD - Few crashed reports

Post by Erik Rutins »

Please try the new 1.0.2.9 beta update:

https://www.matrixgames.com/forums/view ... 1&t=382205
Erik Rutins
CEO, Matrix Games LLC


Image

For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/

Freedom is not Free.
Post Reply

Return to “Distant Worlds 2: Tech Support”