Company of Heroes 2

Company of Heroes 2

CoH2: Battlegrounds
 This topic has been pinned, so it's probably important
CoDiEx  [developer] 9 May, 2022 @ 6:08am
Bug Report
Experienced a bug or crash?

We have several solutions to the bugs available on our discord https://discord.gg/n26gXsk5R5

Not interested in the Discord?

You can also report bugs here on Steam by responding to this discussion or by starting your own.

When reporting an app crash we would like an extract of your log found in
"My Documents\Battlegrounds-CoH2\coh2-bg.log"
Last edited by CoDiEx; 9 May, 2022 @ 6:13am
< >
Showing 1-3 of 3 comments
Hi there, here is my log looks like, after the crash happened when i try to local host



[21:42:35] BattlegroundsInstance: Resolving paths (Local to: D:\SteamLibrary\steamapps\common\Company of Heroes 2\Battlegrounds Development Team\Battlegrounds)
[21:42:35] ModManager: Loaded mod package 'mod_bg' (With 3 mods).
[21:42:35] Integrity: Verified integrity of core files.
[21:42:37] NetworkInterface: Picked remote release server as endpoint (Connection = False)
[21:42:56] Pathfinder: Detected Steam install path: C:\Program Files (x86)\Steam\Steam.exe
[21:42:56] SteamUser: Fetching local user data: C:\Program Files (x86)\Steam\config\loginusers.vdf
[21:42:57] Pathfinder: Detected CoH2 install path: D:\SteamLibrary\Steamapps\Common\Company of Heroes 2\
[21:42:59] DatabaseManager: Database path: "D:\SteamLibrary\steamapps\common\Company of Heroes 2\Battlegrounds Development Team\Battlegrounds\bg_common\data\"
[21:42:59] BlueprintManager: Loaded 1348 ABPs for base game
[21:42:59] BlueprintManager: Loaded 132 CBPs for base game
[21:42:59] BlueprintManager: Loaded 787 EBPs for base game
[21:42:59] BlueprintManager: Loaded 346 IBPs for base game
[21:42:59] BlueprintManager: Loaded 457 SBPs for base game
[21:42:59] BlueprintManager: Loaded 1341 UBPs for base game
[21:42:59] BlueprintManager: Loaded 986 WBPs for base game
[21:42:59] BlueprintManager: Loaded database for basegame blueprints in 0.274s.
[21:42:59] BlueprintManager: Loaded 109 ABPs for mod[142b113740474c82a60b0a428bd553d5]
[21:42:59] BlueprintManager: Loaded 3 CBPs for mod[142b113740474c82a60b0a428bd553d5]
[21:42:59] BlueprintManager: Loaded 107 EBPs for mod[142b113740474c82a60b0a428bd553d5]
[21:42:59] BlueprintManager: Loaded 6 IBPs for mod[142b113740474c82a60b0a428bd553d5]
[21:42:59] BlueprintManager: Loaded 88 SBPs for mod[142b113740474c82a60b0a428bd553d5]
[21:42:59] BlueprintManager: Loaded 124 UBPs for mod[142b113740474c82a60b0a428bd553d5]
[21:42:59] BlueprintManager: Loaded 125 WBPs for mod[142b113740474c82a60b0a428bd553d5]
[21:42:59] BlueprintManager: Loaded database for package 'Battlegrounds Mod Pack' in 0.012s.
[21:42:59] ScenarioList::LoadList: Failed to add duplicate vcoh scenario '2p_cheneux'
[21:42:59] ScenarioList::LoadList: Failed to add duplicate vcoh scenario '8p_west_wall'
[21:42:59] PlayerCompanies: Saved player company 'Default Soviet'.
[21:42:59] PlayerCompanies: Saved player company 'Default German'.
[21:43:03] LobbyBrowserViewModel: Refreshing lobby list
[21:43:04] HttpCom: [HTTP] GET -> lobbies/getlobbies returned : OK
[21:43:04] LobbyBrowserViewModel: Serverhub returned 0 lobbies.
[21:43:06] 21:43:02.22 Version.cpp - translation info queried modulefilename D:\SteamLibrary\Steamapps\Common\Company of Heroes 2\Archive.exe, len 1644
[21:43:06] 21:43:02.59 ARC -- C:\Users\15970\Documents\my games\Company of Heroes 2\Mods\Scenarios\subscriptions\2004771090.sga 9095889 B [ID:ceb773cede483bc2a48c99b265766b2c] [Ver:a5fa18c863f23141038bab1ecf363a69] [Sig:0]
[21:43:06] Extracting Archive Contents
[21:43:06] Extraction TOCEntry
[21:43:06] Name : '4p_belgorod'
[21:43:06] Alias: 'data'
[21:43:06] Extracting 'scenarios\mp\community\4p_belgorod\4p_belgorod.info' ...
[21:43:06] Extracting 'scenarios\mp\community\4p_belgorod\4p_belgorod.options' ...
[21:43:06] Extracting 'scenarios\mp\community\4p_belgorod\4p_belgorod.prefabdata' ...
[21:43:06] Extracting 'scenarios\mp\community\4p_belgorod\4p_belgorod.scenariomarker' ...
[21:43:06] Extracting 'scenarios\mp\community\4p_belgorod\4p_belgorod.sgb' ...
[21:43:06] Extracting 'scenarios\mp\community\4p_belgorod\4p_belgorod_id.scar' ...
[21:43:06] Extracting 'scenarios\mp\community\4p_belgorod\4p_belgorod_lao.dds' ...
[21:43:06] Extracting 'scenarios\mp\community\4p_belgorod\4p_belgorod_loading_background.dds' ...
[21:43:06] Extracting 'scenarios\mp\community\4p_belgorod\4p_belgorod_mm.tga' ...
[21:43:06] Extracting 'scenarios\mp\community\4p_belgorod\4p_belgorod_mm_low.tga' ...
[21:43:06] Extracting 'scenarios\mp\community\4p_belgorod\4p_belgorod_mm_preview.tga' ...
[21:43:06] Extracting 'scenarios\mp\community\4p_belgorod\4p_belgorod_tdm.dds' ...
[21:43:24] 21:43:22.39 Version.cpp - translation info queried modulefilename D:\SteamLibrary\Steamapps\Common\Company of Heroes 2\Archive.exe, len 1644
[21:43:24] 21:43:23.58 ARC -- C:\Users\15970\Documents\my games\Company of Heroes 2\Mods\Scenarios\subscriptions\2011488156.sga 10778371 B [ID:ac028d65bd60abec8146278d199115d5] [Ver:72ea066a811ca152ed9f93e1dfcf8c3d] [Sig:0]
[21:43:24] Extracting Archive Contents
[21:43:24] Extraction TOCEntry
[21:43:24] Name : 'wolfhezev6'
[21:43:24] Alias: 'data'
[21:43:24] Extracting 'scenarios\mp\community\wolfhezev6\wolfhezev6.info' ...
[21:43:24] Extracting 'scenarios\mp\community\wolfhezev6\wolfhezev6.options' ...
[21:43:24] Extracting 'scenarios\mp\community\wolfhezev6\wolfhezev6.prefabdata' ...
[21:43:24] Extracting 'scenarios\mp\community\wolfhezev6\wolfhezev6.scenariomarker' ...
[21:43:24] Extracting 'scenarios\mp\community\wolfhezev6\wolfhezev6.sgb' ...
[21:43:24] Extracting 'scenarios\mp\community\wolfhezev6\wolfhezev6_id.scar' ...
[21:43:24] Extracting 'scenarios\mp\community\wolfhezev6\wolfhezev6_lao.dds' ...
[21:43:24] Extracting 'scenarios\mp\community\wolfhezev6\wolfhezev6_mm.tga' ...
[21:43:24] Extracting 'scenarios\mp\community\wolfhezev6\wolfhezev6_tdm.dds' ...
[21:43:28] ScenarioList: Added 2 workshop maps.
[21:43:38] SessionUtility: Compiling "C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\ses\session.scar" into scar file using 'SessionCompiler'
[21:43:38] SessionUtility: Compiling "C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\ses\session_supply.scar" into a scar file using 'SessionCompiler'
[21:43:38] SessionCompiler: Using Local build from "D:\SteamLibrary\steamapps\common\Company of Heroes 2\Battlegrounds Development Team\Battlegrounds\bg_common\bg_wc\" as wincondition code source
[21:43:38] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\game\winconditions\coh2_battlegrounds.win>
[21:43:38] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\auxiliary_scripts\api_ui.scar>
[21:43:38] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\auxiliary_scripts\client_companyui.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\auxiliary_scripts\client_overrideui.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\auxiliary_scripts\shared_abilities.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\auxiliary_scripts\shared_ai.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\auxiliary_scripts\shared_constants.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\auxiliary_scripts\shared_handler.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\auxiliary_scripts\shared_lookups.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\auxiliary_scripts\shared_sessionloader.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\auxiliary_scripts\shared_units.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\auxiliary_scripts\shared_util.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\auxiliary_scripts\system_tow.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\ui_api\button.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\ui_api\class.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\ui_api\color.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\ui_api\control.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\ui_api\icon.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\ui_api\label.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\ui_api\panel.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\ui_api\rootpanel.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\ui_api\statusindicator.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\coh2_battlegrounds.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\coh2_battlegrounds_supply.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\coh2_battlegrounds_supply_ui.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\coh2_battlegrounds_weather.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\data\scar\winconditions\auxiliary_scripts\session_supply.scar>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\info\6a0a13b89555402ca75b85dc30f5cb04.info>
[21:43:39] WinconditionCompiler: Adding file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\info\coh2_battlegrounds_wincondition_preview.dds>
[21:43:39] WinconditionCompiler: Adding locale file [ABS] <C:\Users\15970\Documents\Battlegrounds-CoH2\~tmp\bld\locale\english\english.gamemode.ucs>
[21:43:41] 21:43:41.20 Version.cpp - translation info queried modulefilename D:\SteamLibrary\Steamapps\Common\Company of Heroes 2\Archive.exe, len 1644
[21:43:41] Build Operation took 0.49 seconds.
[21:43:43] CoH2Launcher: Successfully detected a running instance of RelicCoH2.exe after 1.25s
[21:43:50]


*** FATAL APP EXIT ***

Exception trigger:
<<NULL>>

Exception Info:
System.IO.IOException: The process cannot access the file 'C:\Users\15970\Documents\my games\company of heroes 2\warnings.log' because it is being used by another process.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
at System.IO.File.InternalReadAllText(String path, Encoding encoding)
at System.IO.File.ReadAllText(String path)
at Battlegrounds.Game.Match.SessionUtility.GotFatalScarError()
at Battlegrounds.Game.Match.Play.OverwatchStrategy.IsPerfect()
at Battlegrounds.Game.Match.MatchController.<Control>b__16_1()
at Battlegrounds.Game.Match.MatchController.Control()
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run()
at BattlegroundsApp.App.Main()


Closing Application with error code 0x7FFFFFFF @ 21:43:50
Last edited by Gracchus,Something more Cheerful; 10 May, 2022 @ 7:08pm
CoDiEx  [developer] 11 May, 2022 @ 4:03am 
Thank you, I'll look into it. Does this happen every time you try to play a match?
Originally posted by CoDiEx:
Thank you, I'll look into it. Does this happen every time you try to play a match?
Thanks ~ and Yes it happen every time now since I updated it to 1.1.3.
< >
Showing 1-3 of 3 comments
Per page: 1530 50