Page 1 of 1

[1.0.2.6]CTD - Few crashed reports

Posted: Fri Mar 25, 2022 9:52 pm
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:

Re: [1.0.2.6]CTD - Few crashed reports

Posted: Fri Mar 25, 2022 10:07 pm
by firemad
For some reasons I crash more often on 1.0.2.6.

Here another crash reports.

Re: [1.0.2.6]CTD - Few crashed reports

Posted: Fri Mar 25, 2022 10:26 pm
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.

Re: [1.0.2.6]CTD - Few crashed reports

Posted: Fri Mar 25, 2022 10:28 pm
by firemad
Save game just in case you need it :)

Re: [1.0.2.6]CTD - Few crashed reports

Posted: Fri Mar 25, 2022 11:45 pm
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

Re: [1.0.2.6]CTD - Few crashed reports

Posted: Sat Mar 26, 2022 12:25 am
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.

Re: [1.0.2.6]CTD - Few crashed reports

Posted: Sat Mar 26, 2022 1:19 am
by firemad
Crashed on spaceport when I did a zoom on it.

Re: [1.0.2.6]CTD - Few crashed reports

Posted: Sat Mar 26, 2022 2:21 pm
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).

Re: [1.0.2.6]CTD - Few crashed reports

Posted: Sun Mar 27, 2022 1:03 am
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?

Re: [1.0.2.6]CTD - Few crashed reports

Posted: Sun Mar 27, 2022 3:16 am
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()<---

Re: [1.0.2.6]CTD - Few crashed reports

Posted: Sun Mar 27, 2022 5:06 am
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.

Re: [1.0.2.6]CTD - Few crashed reports

Posted: Sun Mar 27, 2022 5:06 am
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.

Re: [1.0.2.6]CTD - Few crashed reports

Posted: Sun Mar 27, 2022 5:16 am
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

Re: [1.0.2.6]CTD - Few crashed reports

Posted: Sun Mar 27, 2022 3:51 pm
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()<---

Re: [1.0.2.6]CTD - Few crashed reports

Posted: Mon Mar 28, 2022 4:59 am
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.

Re: [1.0.2.6]CTD - Few crashed reports

Posted: Wed Mar 30, 2022 2:38 am
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)

Re: [1.0.2.6]CTD - Few crashed reports

Posted: Thu Mar 31, 2022 4:18 pm
by Erik Rutins
Please try the new 1.0.2.9 beta update:

https://www.matrixgames.com/forums/view ... 1&t=382205