Page 1 of 1

1.9.5.5 - Game crash

Posted: Mon Jul 14, 2014 10:42 am
by Strat_84
Distant Worlds - Crash Dump - 1.9.5.5

23:51:23 dimanche 13 juillet 2014


System.ArgumentException: Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields different results. x: '', x's type: 'BuiltObject', IComparer: ''.
at System.Collections.Generic.GenericArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
at System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer`1 comparer)
at System.Collections.Generic.List`1.Sort(Int32 index, Int32 count, IComparer`1 comparer)
at DistantWorlds.Types.Empire.SortBuiltObjectsByDistance(BuiltObjectList builtObjects, Double x, Double y, Double minimumFuelPortionFilter)
at DistantWorlds.Types.Empire.MaintainShipGroups()
at DistantWorlds.Types.Empire.DoTasks()
at DistantWorlds.Main.B9xuSdgCOqw7NXCsqcF(Object )
at DistantWorlds.Main.AuIr1hkdNh(Object )


--- COMPLETE ---

I have had several crashes with a crash dump similar to this one, not only with version 1.9.5.5, but 1.9.5.3 also.

RE: 1.9.5.5 - Game crash

Posted: Mon Jul 14, 2014 5:25 pm
by johanwanderer
I'm sure the Devs would love to see the save game for this one (see the How to upload a save game thread.)

Also, did you manage to add a non-ship (i.e. base) into a fleet or something? Maybe via the game editor?

RE: 1.9.5.5 - Game crash

Posted: Tue Jul 15, 2014 5:46 am
by Strat_84
I didn't change anything using the editor, I just played my game. [;)]

Also, I doubt a savegame would be of any use. The crash doesn't look to be repeatable, seems to be more likely to happen when the game has been running for more than several hours, and anyway there's no way to foresee when it's going to happen to save the game just before.