You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently this will throw exceptions when the console window is minimized. No clue why. Here's what gets spammed.
System.ComponentModel.Win32Exception (5): Access is denied.
at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
at System.Diagnostics.Process.GetOrOpenProcessHandle()
at System.Diagnostics.Process.EnsureWatchingForExit()
at System.Diagnostics.Process.set_EnableRaisingEvents(Boolean value)
at Process.NET.ProcessSharp..ctor(Process native, MemoryType type)
at titanfall2_rp.ProcessNetApi.Init()
at titanfall2_rp.Titanfall2Api._ensureInit()
at titanfall2_rp.Titanfall2Api.GetGameModeAndMapName()
at titanfall2_rp.PresenceUpdateThread.GetDetailsAndState(Titanfall2Api tf2Api)
at titanfall2_rp.PresenceUpdateThread.SetCurrentPresence(DiscordRpcClient client, Titanfall2Api tf2Api)
at titanfall2_rp.PresenceUpdateThread.OnTimedEvent(Object source, ElapsedEventArgs e)
I still haven't been able to replicate this. Also, I'm not sure why the console window being minimized would have an impact on being able to access the TF|2 process. On top of that, this is no longer a console app on Windows (where this bug was reported from). I'll keep this bug open for a little longer but it'll probably be closed soon.
Apparently this will throw exceptions when the console window is minimized. No clue why. Here's what gets spammed.
Log file:
titanfall-rp (1).log
The text was updated successfully, but these errors were encountered: