KeyNotFoundException: 'ingameMenu' was not present

Hey! My friend and I have a server from 7d2d.net and we recently updated to the latest exp. build after the update we both started experiencing this issue:

Code:
KeyNotFoundException: The given key 'ingameMenu' was not present in the dictionary.
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <467a840a914a47078e4ae9b0b1e8779e>:0 
  at GUIWindowManager.SwitchVisible (System.String _windowName, System.Boolean _bIsNotEscClosable) [0x00000] in <e8e43063270440388d2e6b7642da1a62>:0 
  at PlayerMoveController+<>c__DisplayClass63_0.<Init>b__30 () [0x00040] in <e8e43063270440388d2e6b7642da1a62>:0 
  at NGuiAction.OnClick () [0x00010] in <e8e43063270440388d2e6b7642da1a62>:0 
  at GUIWindowManager.Update () [0x001e9] in <e8e43063270440388d2e6b7642da1a62>:0


Whenever we go to hit ESC, this error appears in the log. In addition to that all of the buttons are smashed up in the left top corner of the screen.

(I was going to post the whole output log but wasn't sure on how to do that, also I'm sorry if this is posted in the wrong spot. Don't post often. 😁)

 
Last edited by a moderator:
I've been fighting this all afternoon today and resolved it for me.  The issue would occur if I'd log into my Nitrado server.  If I'd start a local game it would be fine.  I logged into a random "cheat-off" server and it happened there as well after it downloaded the new servers world.   That made me think my install was bad.  I validated files, and the problem still occurred.   When you'd press Esc nothing would happen except the log window would pop up.  I'd have messages to the effect off "The given key 'ingameMenu' was not present in the dictionary".  I tried uninstalling my game, and clearing out the appdata roaming files.  It still happening after deleting everything and reinstalling.  As a last attempt, I rolled my server back a week.  That fixed it.  I rolled it forward 4 more days and it still works, so I'm leaving it there.  Hopefully where ever you are playing it has backups you can roll back to.

 
Last edited by a moderator:
I've been fighting this all afternoon today and resolved it for me.  The issue would occur if I'd log into my Nitrado server.  If I'd start a local game it would be fine.  I logged into a random "cheat-off" server and it happened there as well after it downloaded the new servers world.   That made me think my install was bad.  I validated files, and the problem still occurred.   When you'd press Esc nothing would happen except the log window would pop up.  I'd have messages to the effect off "The given key 'ingameMenu' was not present in the dictionary".  I tried uninstalling my game, and clearing out the appdata roaming files.  It still happening after deleting everything and reinstalling.  As a last attempt, I rolled my server back a week.  That fixed it.  I rolled it forward 4 more days and it still works, so I'm leaving it there.  Hopefully where ever you are playing it has backups you can roll back to.
So what version of your server and client where you on when it happened and version did you roll back to when it was no longer impacting you?

I'm currently running client Version: V 1.1 (b14) Compatibility Version: V 1.1, Build: WindowsPlayer 64 Bit
Server Version: V 1.1 (b4) Compatibility Version: V 1.1, Build: WindowsPlayer 64 Bit
Since the upgrade I've started getting that same error...

KeyNotFoundException: The given key 'ingameMenu' was not present in the dictionary.
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <467a840a914a47078e4ae9b0b1e8779e>:0 
  at GUIWindowManager.SwitchVisible (System.String _windowName, System.Boolean _bIsNotEscClosable) [0x00000] in <e8e43063270440388d2e6b7642da1a62>:0 
  at PlayerMoveController+<>c__DisplayClass63_0.<Init>b__30 () [0x00040] in <e8e43063270440388d2e6b7642da1a62>:0 
  at NGuiAction.OnClick () [0x00010] in <e8e43063270440388d2e6b7642da1a62>:0 
  at GUIWindowManager.Update () [0x001e9] in <e8e43063270440388d2e6b7642da1a62>:0 

 
ZaphodIsDead said:
I'm currently running client Version: V 1.1 (b14) Compatibility Version: V 1.1, Build: WindowsPlayer 64 Bit
Server Version: V 1.1 (b4)
You need to run the same build on the client and server.

 
hmm, they are running fine when I start a new game. We are just using bdubs and TheMeanOnesDarknessOverhaul. Neither of those should be touching POIs or the XUI menu.

I see in my log lines 801 to 821 say "INF Wrong hash" on a bunch of config files, that's seems very strange.

 
Ive had the issue with my game soft locking my computer when i hit esc. I havent gotten any error messages popping up cause game just freezes and never gets out of it. Not sure where to check my logs and see what all is going on. Been this way since mid September, but i posted originally in steam community, guess that was my mistake.

 
Ive had the issue with my game soft locking my computer when i hit esc. I havent gotten any error messages popping up cause game just freezes and never gets out of it. Not sure where to check my logs and see what all is going on. Been this way since mid September, but i posted originally in steam community, guess that was my mistake.


Logs are in appdata/roaming, or hit F1 and click the Open Logs button. It's either bad mods or bad files, so remove the Mods folder and verify the file integrity a couple of times and it should work.

 
Back
Top