View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0023339 | AI War 2 | Bug - Gameplay | Jun 26, 2020 9:29 pm | Jul 1, 2020 1:34 pm | |
Reporter | Oryutzen | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | Beta 2.083 External Data Hotfix | ||||
Fixed in Version | Beta 2.088 Banishment of Undead AIs | ||||
Summary | 0023339: Mousing over certain units that aren't mine drops an exception | ||||
Description | Seems to be an error, but every time I mouse over certain units, including enemy strikecraft and scourge warriors (or at least some of them), it throws up an exception. Units that trigger the exception do so consistently. | ||||
Tags | No tags attached. | ||||
related to | 0023348 | resolved | Chris_McElligottPark | Problem with GetRandomRowWithTag |
|
|
|
Hey Chris, I've been seeing another issue that looks related: 6/27/2020 1:12:02 PM Exception in entity tooltip text generation at stage 30531:System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Concurrent.ConcurrentDictionary`2[TKey,TValue].ThrowKeyNotFoundException () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Collections.Concurrent.ConcurrentDictionary`2[TKey,TValue].get_Item (TKey key) [0x0000b] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at Arcen.Universal.GameSettings.GetBoolBySetting (System.String setting) [0x00001] in <02a180520903413b933cafcdd61805fd>:0 at Arcen.AIW2.External.Window_InGameHoverEntityInfo.GetTextForEntity (Arcen.Universal.ArcenDoubleCharacterBuffer buffer, Arcen.AIW2.Core.GameEntity_Base EntityBase, Arcen.AIW2.Core.Fleet+Membership MembershipBase, Arcen.AIW2.Core.GameEntityTypeData TypeDataOrNull, System.Int32 OptionalCountToShow, Arcen.AIW2.Core.Faction ForFactionOrNull, System.Byte OptionalForMarkLevel, Arcen.AIW2.Core.FromSidebarType IsFromSidebarType, Arcen.AIW2.External.ShipExtraDetailsInfo DetailsType) [0x044ff] in <786308d0b3124cc299b6215ca861a61e>:0 This is from the following line: debugStage = 30531; if ( ( relatedEntityOrNull.PlanetFaction.Faction.GetIsFriendlyToLocalFaction() && detailLevel >= TooltipDetail.Full) || GameSettings.Current.GetBoolBySetting( "ShowFireteamHistory" ) ) It looks like it's unsafe to use your new ConcurrentDictionary under some circumstances. We definitely need to look at the player's settings when generating hovertext. I could reproduce this by hovering over any units that are in fireteams (hunter, etc) |
|
The setting in question is this one, which was enabled in DLC1: Setting/TSR_Settings.xml: <setting name="ShowFireteamHistory" category="Debug" display_name="Show Fireteam Histories" type="BoolToggle" default="False" But that setting doesn't seem to be appearing in the game anymore. I use that setting all the time for development of fireteam related stuff. Confusingly, I definitely have DLC1 enabled. You can recreate this easily with the Einde 5 save game from https://bugtracker.arcengames.com/view.php?id=23237 |
|
This may fix it, or at least stop the error: * Fixed a case of the GameSettings directly referencing RowsByName, which should never happen. Things should no longer error out if settings are missing. |
|
Seems fixed now |
|
I'm glad -- hopefully you are seeing the actual setting, etc, too. It did not come up in my other debugging on 0023348. |
Date Modified | Username | Field | Change |
---|---|---|---|
Jun 26, 2020 9:29 pm | Oryutzen | New Issue | |
Jun 26, 2020 9:29 pm | Oryutzen | File Added: Glitchin out.save | |
Jun 26, 2020 9:29 pm | Oryutzen | File Added: Glitchin out.savemet | |
Jun 27, 2020 3:14 pm | BadgerBadger | Note Added: 0057446 | |
Jun 27, 2020 3:15 pm | BadgerBadger | Assigned To | => Chris_McElligottPark |
Jun 27, 2020 3:15 pm | BadgerBadger | Status | new => assigned |
Jun 27, 2020 3:15 pm | BadgerBadger | Note Edited: 0057446 | |
Jun 27, 2020 3:18 pm | BadgerBadger | Note Edited: 0057446 | |
Jun 27, 2020 3:25 pm | BadgerBadger | Note Added: 0057447 | |
Jun 27, 2020 3:25 pm | BadgerBadger | Note Edited: 0057447 | |
Jun 30, 2020 11:02 am | Chris_McElligottPark | Note Added: 0057458 | |
Jun 30, 2020 4:01 pm | BadgerBadger | Status | assigned => resolved |
Jun 30, 2020 4:01 pm | BadgerBadger | Resolution | open => fixed |
Jun 30, 2020 4:01 pm | BadgerBadger | Fixed in Version | => Beta 2.088 Banishment of Undead AIs |
Jun 30, 2020 4:01 pm | BadgerBadger | Note Added: 0057464 | |
Jul 1, 2020 1:34 pm | Chris_McElligottPark | Note Added: 0057488 | |
Jul 1, 2020 1:34 pm | Chris_McElligottPark | Relationship added | related to 0023348 |