Page 1 of 1

[FIXED][1645] Clicking on mission hyperlink crashes the game

Posted: Tue May 06, 2025 6:49 pm
by Knightpawn
In 1 "flame" acceleration, when I press the mission hyperlink on the unit/flight information panel (the right sidebar that is visible while playing), the game crashes. It does not in 1x speed. Have not tested other accelerations

Re: [1645] Clicking on mission hyperlink crashes the game

Posted: Tue May 06, 2025 7:35 pm
by thewood1
I would suggest posting a sample scenario. I just went through all speed settings on the Hormuz scenario and the ME came up from the link with no issues.

Re: [1645] Clicking on mission hyperlink crashes the game

Posted: Tue May 06, 2025 7:57 pm
by Knightpawn
Run this file with the fresh beta. I posted this for another topic but the finding is from the same game

Re: [1645] Clicking on mission hyperlink crashes the game

Posted: Tue May 06, 2025 9:29 pm
by Knightpawn
thewood1 wrote: Tue May 06, 2025 7:35 pm I would suggest posting a sample scenario. I just went through all speed settings on the Hormuz scenario and the ME came up from the link with no issues.
In the one posted below it crashes all the time. Sometime even at 1x

Re: [1645] Clicking on mission hyperlink crashes the game

Posted: Tue May 06, 2025 11:16 pm
by thewood1
I clicked on ASW, ECM, and tanker mission links. All worked.

Screenshot 2025-05-06 191451.jpg
Screenshot 2025-05-06 191451.jpg (794.63 KiB) Viewed 170 times

And at single flame...

Screenshot 2025-05-06 191804.jpg
Screenshot 2025-05-06 191804.jpg (880.39 KiB) Viewed 169 times

Re: [1645] Clicking on mission hyperlink crashes the game

Posted: Wed May 07, 2025 8:20 am
by Knightpawn
Can you please also test with the missions CAS 1 and Black Sea West CAP? This is where I am getting the problem, and it happens very often when I click on the hyperlink with acceleration running. It happened also a couple of time when I clicked while paused!

Thanks

Re: [1645] Clicking on mission hyperlink crashes the game

Posted: Wed May 07, 2025 8:32 am
by Nikel
Just in case is useful.

No crash here, this error is displayed several times in the exception log, seems to be related with missions.

Code: Select all

07-05-2025 10:26:51 -- Bv1.08 Public Beta - Build 1645 -- The given key was not present in the dictionary. -- Scen : Mediterranean Fury 1, The Road to Byzantium, 1994 -- DB :  -- Exception: The given key was not present in the dictionary.
Stack Trace:    at System.Collections.Concurrent.ConcurrentDictionary`2.get_Item(TKey key)
   at Command_Core.GameGeneral.CheckForMissionWakeup(Scenario& theScen, Side& theSide, Mission& theSpecificMission, Boolean IncludeEmptySlots, Boolean OrderTakeOff, Boolean LaunchPrePlannedPackages, Int32 theRequestFlightSize)
Call Stack & Error details: 
Error at 10124600000000000: 

Re: [1645] Clicking on mission hyperlink crashes the game

Posted: Wed May 07, 2025 9:38 am
by Knightpawn
Nikel wrote: Wed May 07, 2025 8:32 am Just in case is useful.

No crash here, this error is displayed several times in the exception log, seems to be related with missions.

Code: Select all

07-05-2025 10:26:51 -- Bv1.08 Public Beta - Build 1645 -- The given key was not present in the dictionary. -- Scen : Mediterranean Fury 1, The Road to Byzantium, 1994 -- DB :  -- Exception: The given key was not present in the dictionary.
Stack Trace:    at System.Collections.Concurrent.ConcurrentDictionary`2.get_Item(TKey key)
   at Command_Core.GameGeneral.CheckForMissionWakeup(Scenario& theScen, Side& theSide, Mission& theSpecificMission, Boolean IncludeEmptySlots, Boolean OrderTakeOff, Boolean LaunchPrePlannedPackages, Int32 theRequestFlightSize)
Call Stack & Error details: 
Error at 10124600000000000: 
I will delete and re-create the missions and report back

Re: [1645] Clicking on mission hyperlink crashes the game

Posted: Wed May 07, 2025 10:01 am
by blu3s
This crashes are really difficult to repro, I've experienced them from time to time but are weird.

Re: [1645] Clicking on mission hyperlink crashes the game

Posted: Wed May 07, 2025 10:19 am
by Nikel
Tried again, also switching sides. No crash, the error posted above many times and also this only one time.

Code: Select all

07-05-2025 12:14:16 -- Bv1.08 Public Beta - Build 1645 -- Object reference not set to an instance of an object. -- Scen : Mediterranean Fury 1, The Road to Byzantium, 1994 -- DB :  -- Exception: Object reference not set to an instance of an object.
Stack Trace:    at Command.MissionEditor._Closure$__.IjsEv6dZTOKiOwmToKVP(Object )
   at Command.MissionEditor._Closure$__._Lambda$__3343-2(ActiveUnit TheAu)
   at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
   at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
   at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at WydEQPgfXFaOXd1GC9J4.y2DgXYg4gX5(Object , WydEQPgfXFaOXd1GC9J4 )
   at Command.MissionEditor.RefreshUnassignedUnits()
Call Stack & Error details: 
Error at 200634: Object reference not set to an instance of an object.

Re: [1645] Clicking on mission hyperlink crashes the game

Posted: Wed May 07, 2025 11:16 am
by thewood1
"Can you please also test with the missions CAS 1 and Black Sea West CAP? This is where I am getting the problem, and it happens very often when I click on the hyperlink with acceleration running. It happened also a couple of time when I clicked while paused!"

This would be the kind of stuff that would be very helpful in the initial post. Instead of people trying to help having to run through it multiple times.

Re: [1645] Clicking on mission hyperlink crashes the game

Posted: Wed May 07, 2025 11:58 am
by Knightpawn
I could not possibly put it in the initial post, because it was your reply that helped me to consider that it might have been a mission specific thing.
(.i.e. these are the two missions that I interact most with)

Ps No need to be jumpy :-)

Re: [1645] Clicking on mission hyperlink crashes the game

Posted: Thu May 08, 2025 9:43 pm
by Knightpawn
I believe I have managed to replicate the behavior that causes the crash:

1. I if I click on a unit or group that belongs to a mission and my next click is the mission hyperlink on the vertical side bar, ALL IS GOOD
2. I if I click on a unit or group that belongs to a mission, then I click somewhere on the map (so that the unit is not selected but the side bar is still open and THEN I click is the mission hyperlink on the vertical side bar, GAME CRASHES

Re: [1645] Clicking on mission hyperlink crashes the game

Posted: Thu May 08, 2025 10:54 pm
by thewood1
Knightpawn wrote: Wed May 07, 2025 11:58 am I could not possibly put it in the initial post, because it was your reply that helped me to consider that it might have been a mission specific thing.
(.i.e. these are the two missions that I interact most with)

Ps No need to be jumpy :-)
To start with you didn't even post a save. That was the start of it. You have posting frequently enough to know that's a minimum common courtesy.

Re: [1645] Clicking on mission hyperlink crashes the game

Posted: Thu May 08, 2025 11:31 pm
by Raptorx7_slith
Knightpawn wrote: Thu May 08, 2025 9:43 pm I believe I have managed to replicate the behavior that causes the crash:

1. I if I click on a unit or group that belongs to a mission and my next click is the mission hyperlink on the vertical side bar, ALL IS GOOD
2. I if I click on a unit or group that belongs to a mission, then I click somewhere on the map (so that the unit is not selected but the side bar is still open and THEN I click is the mission hyperlink on the vertical side bar, GAME CRASHES
This looks like its it, thank you! This was driving us crazy lol

Re: [1645] Clicking on mission hyperlink crashes the game

Posted: Fri May 09, 2025 5:55 am
by Dimitris
This has been fixed for the next update.