sandboxie-plus / Sandboxie

Sandboxie Plus & Classic
https://Sandboxie-Plus.com
GNU General Public License v3.0
13.97k stars 1.56k forks source link

Overwatch Crashes During Matches When Ran Sandboxed #3604

Closed IntrepidWanderer closed 6 months ago

IntrepidWanderer commented 10 months ago

Describe what you noticed and did

Overwatch (aka Overwatch 2) is a free to play game. Requires a free Blizzard account to play. It can also be ran under Steam, but I used the traditional Battle.net version.

  1. Installed Battle.net application in sandbox.
  2. Ran Battle.net in sandbox, downloaded and installed Overwatch in D partition with openpipepath (Overwatch is technically installed outside sandbox, but all registry entries are inside sandbox.)
  3. Start Overwatch normally through sandboxed Battle.net application
  4. Queue for a match (any match, but I mostly did Unranked-Quick Play). Overwatch will crash randomly during the match, either within a few minutes of match start, while playing, or sometimes after a few matches. Overwatch's internal error reporting isn't triggered, there's no error messages of any kind, it's just a sudden exit to desktop.

How often did you encounter it so far?

This has been happening at least since Jan, 2024. In the beginning of January it would crash even when sitting in menus. I revisted the game after 3 weeks, it's become a little more stable, but still will randomly crash during a match. Last verified Feb 6, 2024 at time of posting.

Expected behavior

I expect the game to run and function normally when ran in sandbox, not crash at any time. On the same system and same conditions, the game does not crash when ran in unsandboxed mode.

Using the breakout programs setting to exempt Overwatch Launcher and Overwatch.exe from sandbox mode will also work even when Battle.net is installed inside a sandbox, since the game files are already located outside. However, the game has certain issues when used this way: The login credentials do not get passed over from the sandboxed Battle.net to the Overwatch client automatically, necessitating a manual input of account details to login, and sometimes there is a network error indicator of some sort (a yellow triangle alert icon with a black exclamation mark in the center) in game shown over any match queue modes (the ones that require connecting to matchmaking server as opposed to generating a local instance, like the practice range). I seem to still be able to queue and play matches normally, and challenges and everything else appears to work, except for match replays, which will often fail to load.

Affected program

Overwatch 2.8.1.1.121173

Download link

https://overwatch.blizzard.com/

Where is the program located?

The program is installed only outside the sandbox.

Did the program or any related process close unexpectedly?

Yes, it did, but no .dmp file has been created in the system.

Crash dump

No response

What version of Sandboxie are you running now?

Sandboxie Plus 1.12.7 64 bit

Is it a new installation of Sandboxie?

I recently did a new clean installation.

Is it a regression from previous versions?

As far as I know, it was also crashing in 1.12.6. I have not tested any other versions, but since Dec 2023, Overwatch has had some internal changes that might have made it incompatible.

In which sandbox type you have this problem?

In a standard isolation sandbox (yellow sandbox icon).

Can you reproduce this problem on a new empty sandbox?

My sandbox contains existing programs or data.

What is your Windows edition and version?

Windows 10 Education Version 22H2 OS build 19045.3930 Experience Windows Feature Experience Pack 1000.19053.1000.0

In which Windows account you have this problem?

A local account (Administrator)., A Microsoft account (Administrator)., An account with UAC protection completely turned off.

Please mention any installed security software

Microsoft Defender Antivirus (cannot turn off real time protection permanently)

Did you previously enable some security policy settings outside Sandboxie?

No response

Trace log

No response

Sandboxie.ini configuration

[GlobalSettings]

FileRootPath=C:\Sandboxes\%SANDBOX%
Template=SynapticsTouchPad
Template=Edge_Fix
Template=OfficeLicensing
Template=WindowsLive
Template=WindowsRasMan
ActivationPrompt=n
ForceDisableSeconds=60
NetworkEnableWFP=y
KeyRootPath=\REGISTRY\USER\Sandbox_%USER%_%SANDBOX%
IpcRootPath=\Sandbox\%USER%\%SANDBOX%\Session_%SESSION%

[UserSettings_029800E3]

SbieCtrl_EditConfNotify=n
SbieCtrl_EnableLogonStart=n
SbieCtrl_EnableAutoStart=y
SbieCtrl_AddDesktopIcon=n
SbieCtrl_AddQuickLaunchIcon=n
SbieCtrl_AddContextMenu=n
SbieCtrl_AddSendToMenu=y
SbieCtrl_ActiveView=40021
SbieCtrl_HideWindowNotify=n
SbieCtrl_ShortcutNotify=n
SbieCtrl_ShowWelcome=n
SbieCtrl_NextUpdateCheck=1555555555
SbieCtrl_UpdateCheckNotify=n
SbieCtrl_ExplorerWarn=n
SbieCtrl_ReloadConfNotify=n
SbieCtrl_SaveRecoverTargets=n
SbieCtrl_AutoApplySettings=n
SbieCtrl_WindowCoords=1404,681,516,367
SbieCtrl_ProcessViewColumnWidths=216,62,225
BoxDisplayOrder=DefaultBox,AdminDefaultBox,AdminTestBox,GamesInstall,GamesInstallnRun,GamesRun,GamesManagers,ProgramLongUse
SbieCtrl_ShouldDeleteNotify=n
SbieCtrl_BoxExpandedView=AdminDefaultBox,GamesManagers,GamesRun,TestBox
SbieCtrl_AutoStartAgent=SandMan.exe -autorun

[GManagers]
Enabled=y
ConfigLevel=10
Template=AutoRecoverIgnore
Template=LingerPrograms
Template=BlockPorts
Template=FileCopy
Template=SkipHook
Template=OpenBluetooth
RecoverFolder=%Start Menu%
RecoverFolder=%Personal%
RecoverFolder=%Desktop%
RecoverFolder=C:\Documents and Settings
RecoverFolder=H:
RecoverFolder=C:\Program Files
BoxNameTitle=y
BorderColor=#00FFFF,off
NeverDelete=y
OpenPipePath=C:\Temp
OpenPipePath=D:\Blizzard Games
OpenPipePath=D:\Steam Games
OpenPipePath=D:\EA Games
BlockDrivers=y
BlockWinHooks=y
BlockFakeInput=n
LingerProcess=agent.exe
LingerProcess=steamwebhelper.exe
CopyLimitKb=58634
github-actions[bot] commented 6 months ago

As it has been 3 months since the last activity, we are automatically closing this issue in 14 days. If it is still present, please respond to help us investigate on newer Sandboxie versions. Thank you for your contribution!