Support | News | Classic | F.A.Q. | Discord | Discussions | Wiki | Roadmap

After the latest update I started getting this error: The given key 'light_option_switch06' was not present in the dictionary (see below for detailed report). Search points to some ABH thrusters which used to work ok. Any idea what happened and how to fix this?

REPORT:
11/24/2021 14:00:29 | Logging successful initialized.
11/24/2021 14:00:29 | .NET Runtime Version: 5.0.10
11/24/2021 14:00:29 | Running as a 64-bit process.
11/24/2021 14:00:29 | Locale: en-US
11/24/2021 14:00:29 | Language: en-US
11/24/2021 14:00:29 | Cosmoteer version 0.15.16b build 0.15.16b_standalone
11/24/2021 14:00:29 | Build Date: 10/10/2021 9:23:58 PM
11/24/2021 14:00:29 | Build Commit: 760f2d7abc4d7190b07d789697fa588f28d1322e
11/24/2021 14:00:29 | Microsoft Windows 10 Pro 64-bit 10.0.19042
11/24/2021 14:00:29 | AMD Ryzen 5 3600 6-Core Processor (12 logical / 6 physical cores)
11/24/2021 14:00:29 | 16332.6 MB RAM
11/24/2021 14:00:29 | NVIDIA GeForce GTX 1650 SUPER (30.0.14.9649) (10/19/2021)
11/24/2021 14:00:29 | 4095.0 MB VRAM
11/24/2021 14:00:29 |

11/24/2021 14:00:30 | Loaded app settings.
11/24/2021 14:00:30 | Set application DPI mode: PerMonitor
11/24/2021 14:00:30 | Setup default cursor.
11/24/2021 14:00:30 | Using display adapter 0
11/24/2021 14:00:30 | Created DXGI factory.
11/24/2021 14:00:30 | Adapter #0: NVIDIA GeForce GTX 1650 SUPER
11/24/2021 14:00:30 | Output #0: Generic PnP Monitor (1920x1080)
11/24/2021 14:00:30 | Adapter #1: Microsoft Basic Render Driver
11/24/2021 14:00:30 | Updated Windows form configuration for borderless window.
11/24/2021 14:00:30 | Created Windows form.
11/24/2021 14:00:30 | Direct3D Feature Level: Level_11_0
11/24/2021 14:00:30 | Created Direct3D 11 Device.
11/24/2021 14:00:30 | Created swap chain: 1920x1080.
11/24/2021 14:00:30 | Created window.
11/24/2021 14:00:30 | Created clock.
11/24/2021 14:00:30 | Created graphics manager.
11/24/2021 14:00:30 | Created XAudio2 device.
11/24/2021 14:00:30 | Created audio manager.
11/24/2021 14:00:30 | Created input manager.
11/24/2021 14:00:30 | Created default font.
11/24/2021 14:00:30 | Initial app state is 'MainMenu'
11/24/2021 14:00:30 | Initial application settings:
11/24/2021 14:00:30 | LastGameVersion:
11/24/2021 14:00:30 | InitState: MainMenu
11/24/2021 14:00:30 | Language:
11/24/2021 14:00:30 | LockCursor: False
11/24/2021 14:00:30 | EdgePanMode: Analog
11/24/2021 14:00:30 | EdgePanSpeed: 15
11/24/2021 14:00:30 | KeyboardPanSpeed: 15
11/24/2021 14:00:30 | KeyboardZoomSpeed: 10
11/24/2021 14:00:30 | KeyboardRotSpeed: 90°
11/24/2021 14:00:30 | EnableMouseWheelZoom: True
11/24/2021 14:00:30 | InvertMouseWheelZoom: False
11/24/2021 14:00:30 | MouseWheelZoomSpeed: 1.12
11/24/2021 14:00:30 | MouseWheelZoomAtCursor: True
11/24/2021 14:00:30 | AutoTrackOnScreenShips: True
11/24/2021 14:00:30 | StickyFocus: True
11/24/2021 14:00:30 | DpiScaleMode: Dpi100
11/24/2021 14:00:30 | AnimateBackgrounds: True
11/24/2021 14:00:30 | BackgroundGrid: True
11/24/2021 14:00:30 | FancyParticles: True
11/24/2021 14:00:30 | UncompressedTextures: False
11/24/2021 14:00:30 | TargetFps: FpsTarget30
11/24/2021 14:00:30 | AllowShipDeselection: False
11/24/2021 14:00:30 | CtrlSelectsParts: True
11/24/2021 14:00:30 | EnableCollisionAvoidance: True
11/24/2021 14:00:30 | EnableArrivalMatching: True
11/24/2021 14:00:30 | PreferBlueprintMode: False
11/24/2021 14:00:30 | BlueprintAutoPause: True
11/24/2021 14:00:30 | ShowInvalidBlueprints: True
11/24/2021 14:00:30 | ShowAutoRemovedParts: True
11/24/2021 14:00:30 | ShowAutoRemovedDecals: True
11/24/2021 14:00:30 | BuildAutoRotate: True
11/24/2021 14:00:30 | BuildAutoInteriors: True
11/24/2021 14:00:30 | PaintAutoRotate: True
11/24/2021 14:00:30 | PaintAllowOverwrite: True
11/24/2021 14:00:30 | PaintMirrorEnabled: False
11/24/2021 14:00:30 | PaintMirrorAxis: Vertical
11/24/2021 14:00:30 | RepairAutoRotate: False
11/24/2021 14:00:30 | BuildAllowOverwrite: True
11/24/2021 14:00:30 | BuildAutoDoors: True
11/24/2021 14:00:30 | BuildShowNearestPaths: True
11/24/2021 14:00:30 | BuildMirrorEnabled: False
11/24/2021 14:00:30 | BuildMirrorAxis: Vertical
11/24/2021 14:00:30 | ShowStatBars: True
11/24/2021 14:00:30 | ConstructExitsBuild: False
11/24/2021 14:00:30 | CrewMirrorEnabled: False
11/24/2021 14:00:30 | CrewMirrorAxis: Vertical
11/24/2021 14:00:30 | CrewAutoRotate: True
11/24/2021 14:00:30 | ShowCrewPaths: True
11/24/2021 14:00:30 | ShowCrewHomes: True
11/24/2021 14:00:30 | DefaultRoles:
11/24/2021 14:00:30 | RowsOfParts: 1
11/24/2021 14:00:30 | GrabLeavesCorridors: True
11/24/2021 14:00:30 | RepairAutoDoors: True
11/24/2021 14:00:30 | AutoHireCrew: True
11/24/2021 14:00:30 | PartToolTips: True
11/24/2021 14:00:30 | PartToolTipsDefaultToStats: False
11/24/2021 14:00:30 | AutoSave: True
11/24/2021 14:00:30 | AutoSavesToKeep: 10
11/24/2021 14:00:30 | QuickSavesToKeep: 10
11/24/2021 14:00:30 | AutoSaveInterval: 600
11/24/2021 14:00:30 | SaveLostShips: True
11/24/2021 14:00:30 | LostShipsTokeep: 10
11/24/2021 14:00:30 | FtlAutoSave: True
11/24/2021 14:00:30 | ShowOnShipIndicators: True
11/24/2021 14:00:30 | ShowZoomedOutBlibs: True
11/24/2021 14:00:30 | ShowOffScreenBlips: True
11/24/2021 14:00:30 | PingNearbyEnemies: True
11/24/2021 14:00:30 | AutoPauseOnLostFocus: True
11/24/2021 14:00:30 | ScreenShake: True
11/24/2021 14:00:30 | ShowMidpointFocusWidget: True
11/24/2021 14:00:30 | VersionCheckMode: Stable
11/24/2021 14:00:30 | DefaultScreenshotFormat: Jpeg
11/24/2021 14:00:30 | EnableMetrics: True
11/24/2021 14:00:30 | PreferBorderlessWindowToggle: False
11/24/2021 14:00:30 | MasterVolume: 1
11/24/2021 14:00:30 | EffectsVolume: 1
11/24/2021 14:00:30 | InterfaceVolume: 1
11/24/2021 14:00:30 | MuteWhenUnfocused: False
11/24/2021 14:00:30 | ShowTutorials: True
11/24/2021 14:00:30 | AutoFtlJump: False
11/24/2021 14:00:30 | DefaultPaintScheme:
11/24/2021 14:00:30 | PaintSchemes: System.Collections.Generic.List1[Cosmoteer.Ships.Paint.PaintScheme]
11/24/2021 14:00:30 | DefaultBuildTool: Grab
11/24/2021 14:00:30 | DefaultDecalTool: Grab
11/24/2021 14:00:30 | TutorialPageStates: System.Collections.Generic.Dictionary
2[System.String,Cosmoteer.Tutorials.TutorialPageState]
11/24/2021 14:00:30 | DontDimDialogBackgrounds: False
11/24/2021 14:00:30 | PlayerColor:
11/24/2021 14:00:30 | EnemyColor:
11/24/2021 14:00:30 | NeutralColor:
11/24/2021 14:00:30 | RotateMinimap: True
11/24/2021 14:00:30 | MiniviewInCombatMode: Auto
11/24/2021 14:00:30 | MiniviewNotInCombatMode: Auto
11/24/2021 14:00:30 | MiniviewLockRotation: False
11/24/2021 14:00:30 | MiniviewSize:
11/24/2021 14:00:30 | ShowInteriors: False
11/24/2021 14:00:30 | ShowAllCommands: False
11/24/2021 14:00:30 | AlwaysShowCommandWidgets: False
11/24/2021 14:00:30 | ShowSelectedPartStatusBars: True
11/24/2021 14:00:30 | PreferShipRelativeAttackAngle: False
11/24/2021 14:00:30 | PreferWorldRelativeFollowAngle: False
11/24/2021 14:00:30 | DirectControlEnableWeapons: True
11/24/2021 14:00:30 | DirectControlAimAssist: True
11/24/2021 14:00:30 | DirectControlAutoBrake: True
11/24/2021 14:00:30 | DirectControlAutoFaceCursor: False
11/24/2021 14:00:30 | DirectControlViewFollowsCursor: False
11/24/2021 14:00:30 | DirectControlAutoRotateView: False
11/24/2021 14:00:30 | DirectControlAutoZoomView: False
11/24/2021 14:00:30 | DirectControlShowWeaponCoverage: False
11/24/2021 14:00:30 | ShipLibraryLargeIcons: False
11/24/2021 14:00:30 | BreakFormationToAttack: True
11/24/2021 14:00:30 | DisplayAllShips: False
11/24/2021 14:00:30 | ShowAdvancedCommands: False
11/24/2021 14:00:30 | EnabledMods: System.Collections.Generic.HashSet1[System.String]
11/24/2021 14:00:30 | AutoDisableMods: True
11/24/2021 14:00:30 | DeleteFileOnStartup:
11/24/2021 14:00:30 | DefaultGameMode:
11/24/2021 14:00:30 | DefaultCreativeModeMapSize: 0
11/24/2021 14:00:30 | DefaultBountyModeDifficulty: 0
11/24/2021 14:00:30 | DefaultBountyModeMapSize: 0
11/24/2021 14:00:30 | DefaultBountyModeStarterShip: 0
11/24/2021 14:00:30 | MPShipColorMode: RandomPerPlayer
11/24/2021 14:00:30 | MPBlipColorMode: FriendAndFoe
11/24/2021 14:00:30 | MPShowDamagePoints: True
11/24/2021 14:00:30 | CustomRulesets: System.Collections.Generic.Dictionary
2[System.String,System.Collections.Generic.List1[Cosmoteer.CustomRuleset]]
11/24/2021 14:00:30 | AllowP2PConnections: True
11/24/2021 14:00:30 | PreferLAN: False
11/24/2021 14:00:30 | DefaultServer: 0
11/24/2021 14:00:30 | ShowNewsOnStartup: True
11/24/2021 14:00:30 | ReadNewsArticles: System.Collections.Generic.HashSet
1[System.String]
11/24/2021 14:00:30 | ShowNewsAlerts: True
11/24/2021 14:00:30 | HiddenNewsAlerts: System.Collections.Generic.HashSet1[System.String]
11/24/2021 14:00:30 | MainMenuBackgroundIndex: 0
11/24/2021 14:00:30 | CycleMainMenuBackground: True
11/24/2021 14:00:30 | DefaultAuthorName:
11/24/2021 14:00:30 | ShowSteamWishlistPrompt: True
11/24/2021 14:00:30 | EnableGifRecorder: False
11/24/2021 14:00:30 | GifRecorderSeconds: 10
11/24/2021 14:00:30 | GifRecorderFramerate: 20
11/24/2021 14:00:30 | GifRecorderResolution: 480
11/24/2021 14:00:30 | Starting main game loop...
11/24/2021 14:00:30 | Enabled mods:
11/24/2021 14:00:31 | cosmoteer.huge_ships (1.0.0)
11/24/2021 14:00:31 | ultranova.galactic_allegiance (1.0.0)
11/24/2021 14:00:31 | Kroom.Krooms_DecalPack (1.0.3)
11/24/2021 14:00:31 | Kroom.Krooms_Forge (1.0.8b)
11/24/2021 14:00:31 | Kroom.Normal_Armor_Expanded (1.0.5)
11/24/2021 14:00:31 | Meranera.Legacy (LEGACY)
11/24/2021 14:00:31 | Meranera.Sauce (6-19-18a)
11/24/2021 14:00:31 | Gibbyones.Naval Vengance 2b ('Ice' 0.40)
11/24/2021 14:00:31 | SW.StarWars (0.3.6)
11/24/2021 14:00:31 | DCSB.Warhammer40K (1.9.5)
11/24/2021 14:00:31 | Loaded language 'en'.
11/24/2021 14:01:23 | Loaded game data in 52.7 seconds.
11/24/2021 14:02:43 | Memory usage at time of crash: 5,143,269,376
11/24/2021 14:02:43 | Application state stack at time of crash:
11/24/2021 14:02:43 | Halfling.Gui.Dialogs.ZeroButtonDialog "Starting game..."
11/24/2021 14:02:43 | Cosmoteer.Gui.TitleScreen
11/24/2021 14:02:43 | FPS at time of crash: 60.01555
11/24/2021 14:02:43 | Running processes at time of crash: ApplicationFrameHost, aswEngSrv, aswidsagent, audiodg, AVGSvc, avgToolsSvc, AVGUI, chrome, conhost, Cosmoteer, CredentialEnrollmentManager, csrss, ctfmon, DiscSoftBusServiceUltra, dllhost, DTShellHlp, dwm, EXCEL, explorer, fontdrvhost, GameBar, GameBarFTServer, GoogleCrashHandler, GoogleCrashHandler64, Idle, LockApp, lsass, Memory Compression, Microsoft.Photos, Nox, nox_adb, NoxVMHandle, NoxVMSVC, NVDisplay.Container, OneDrive, Registry, RtkAudUService64, RtkUWP, RuntimeBroker, SearchApp, SearchFilterHost, SearchIndexer, SearchProtocolHost, SecurityHealthService, SecurityHealthSystray, services, SettingSyncHost, SgrmBroker, ShellExperienceHost, sihost, smartscreen, smss, spoolsv, StartMenuExperienceHost, steam, steamservice, steamwebhelper, svchost, System, SystemSettings, SystemSettingsBroker, taskhostw, TextInputHost, unsecapp, UserOOBEBroker, wininit, winlogon, WmiPrvSE, wsc_proxy, WUDFHost,
11/24/2021 14:02:43 | System.Collections.Generic.KeyNotFoundException: The given key 'light_option_switch06' was not present in the dictionary.
11/24/2021 14:02:43 | at System.Collections.Generic.Dictionary
2.get_Item(TKey key)
11/24/2021 14:02:43 | at Cosmoteer.Game.SelectionStates.PartBrushState..ctor(GameRoot game, GameGui gameGui, IBuildModeProvider buildModeProvider, PartRules part, Int32 rotation, Vector2 mouseLocOffset, Boolean allowBrushes, Nullable1 grabbedPartLoc) in C:\Users\walt\Documents\Code\Cosmoteer\Source\Game\SelectionStates\PartBrushState.cs:line 136
11/24/2021 14:02:43 | at Cosmoteer.Game.Gui.BuildToolbox.AddPartButton(PartRules part, LayoutBox
2 box, GameGui gameGui)
11/24/2021 14:02:43 | at Cosmoteer.Game.Gui.BuildToolbox..ctor(GameRoot game, GameGui gameGui) in C:\Users\walt\Documents\Code\Cosmoteer\Source\Game\GUI\BuildToolbox.cs:line 501
11/24/2021 14:02:43 | at Cosmoteer.Game.Gui.ShipGui..ctor(GameRoot game, GameGui gameGui) in C:\Users\walt\Documents\Code\Cosmoteer\Source\Game\GUI\ShipGui.cs:line 346
11/24/2021 14:02:43 | at Cosmoteer.Game.Gui.GameGui..ctor(GameRoot game) in C:\Users\walt\Documents\Code\Cosmoteer\Source\Game\GUI\GameGui.cs:line 348
11/24/2021 14:02:43 | at Cosmoteer.Game.GameRoot..ctor(NetManagerFactory netManager) in C:\Users\walt\Documents\Code\Cosmoteer\Source\Game\GameRoot.cs:line 335
11/24/2021 14:02:43 | at Cosmoteer.Game.GameRoot..ctor(GameModeFactory gameMode, NetManagerFactory netManager) in C:\Users\walt\Documents\Code\Cosmoteer\Source\Game\GameRoot.cs:line 346
11/24/2021 14:02:43 | at Cosmoteer.Modes.Creative.CreativeSPModeConfigGui.CreateGame() in C:\Users\walt\Documents\Code\Cosmoteer\Source\Modes\Creative\CreativeSPModeConfigGui.cs:line 73
11/24/2021 14:02:43 | at Cosmoteer.Gui.NewGameDialog.<OnOkayClicked>b__5_0() in C:\Users\walt\Documents\Code\Cosmoteer\Source\GUI\NewGameDialog.cs:line 120
11/24/2021 14:02:43 | at System.Threading.Tasks.Task1.InnerInvoke()
11/24/2021 14:02:43 | at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
11/24/2021 14:02:43 | at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
11/24/2021 14:02:43 | --- End of stack trace from previous location ---
11/24/2021 14:02:43 | at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
11/24/2021 14:02:43 | at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
11/24/2021 14:02:43 | --- End of stack trace from previous location ---
11/24/2021 14:02:43 | at Cosmoteer.Gui.NewGameDialog.OnOkayClicked(Object sender, EventArgs e) in C:\Users\walt\Documents\Code\Cosmoteer\Source\GUI\NewGameDialog.cs:line 120
11/24/2021 14:02:43 | at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_0(Object state)
11/24/2021 14:02:43 | at Halfling.Application.QueueingSyncContext.PostInfo.Call() in C:\Users\walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Source\Application\QueueingSyncContext.cs:line 71
11/24/2021 14:02:43 | at Halfling.Application.QueueingSyncContext.HandleQueue() in C:\Users\walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Source\Application\QueueingSyncContext.cs:line 43
11/24/2021 14:02:43 | at Halfling.Application.Director.GetRunIterator()+MoveNext() in C:\Users\walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Source\Application\Director.cs:line 373
11/24/2021 14:02:43 | at Halfling.Application.Bases.GenericApp.ApplicationMainIterator()+MoveNext() in C:\Users\walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Source\Application\Bases\GenericApp.cs:line 280
11/24/2021 14:02:43 | at Halfling.Windows.D3D11.D3D11Window.RunGameLoop(String[] args, IEnumerable
1 iterator) in C:\Users\walt\Documents\Code\Cosmoteer\Halfling\HalflingPlatformWDX\Source\Windows\D3D11\D3D11Window.cs:line 892
11/24/2021 14:02:43 | at Halfling.Application.Bases.GenericApp.ApplicationMain(String[] args) in C:\Users\walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Source\Application\Bases\GenericApp.cs:line 176
11/24/2021 14:02:43 | at Cosmoteer.GameApp.Main(String[] args) in C:\Users\walt\Documents\Code\Cosmoteer\Source\GameApp.cs:line 181
11/24/2021 14:02:44 | Actual data hash: 1da1b47298a6f689ba5d355baf6d75d2
11/24/2021 14:02:44 | Expected data hash: 1da1b47298a6f689ba5d355baf6d75d2
11/24/2021 14:02:44 | Director received exit call.
11/24/2021 14:02:44 | Disposed default font.
11/24/2021 14:02:44 | Disposed XA2AudioManager device.
11/24/2021 14:02:44 | Disposed audio manager.
11/24/2021 14:02:44 | Disposed clock.
11/24/2021 14:02:44 | Disposed input manager.
11/24/2021 14:02:44 | Disposed graphics manager.
11/24/2021 14:02:44 | Disposed swap chain.
11/24/2021 14:02:44 | Disposed Direct3D device.
11/24/2021 14:02:44 | Disposed DXGI factory.
11/24/2021 14:02:44 | Closed Windows form.
11/24/2021 14:02:44 | Director received exit call.
11/24/2021 14:02:44 | Disposed window.
11/24/2021 14:02:44 | Disposed platform interface.
11/24/2021 14:02:44 | Closing log output file...

One of parts you tried to place caused this crash,if you know, which one, notify author of mod

    it crashes at startup - I seem to have an idea which parts crash, I just don't know why (otherwise I could fix this myself)

      Try removing mods one by one and last removed before it works again is problem, contact it's dev

      Raufbold

        Raufbold According to the log you don't have the mod activated.
        You can always recover a ship file by loading it from the blueprint building mode hamburger menu. See wiki.
        Even though it shouldn't matter now-a-day that error points to when an older mod version was used. But save games are just bad with changes so anything goes.

          thaks for the responses guys, here's some clarifications:

          1. It crashes at startup, so I'm not loading any ships/saves yet.
          2. I seem to know which mods/parts are responsible for the crash - will try switching them off to see if it will make a difference, but I'm pretty sure it will.
            So the problem is basically that it fails at all. It seems as if there used to be something called light_option_switch in the dictionary before, and then it got removed in one of the two recent updates. Just was wondering if anyone has encountered this and what is the remedy.
            Thanks!

            Raufbold In that case it's either a simple mod bug or the mod is corrupted. Either way just redownload the mod version you need. I prefer it if you use the latest in order to deal with current ones rather than old.

            Write a Reply...