Quick answer: Capture crashes from your packaged Microsoft Store or Xbox PC game with the packaged-environment context, because the packaged, sandboxed format differs from a plain Win32 build in file access, install location, and permissions. The packaging context distinguishes a sandbox-related crash from a general bug, especially for Game Pass distribution.
Distributing a PC game through the Microsoft Store or Xbox on PC, including Game Pass, means shipping a packaged, sandboxed build rather than a plain Win32 executable. This packaged format changes how your game accesses files, where it installs, and what permissions it has, and a game that runs fine as a traditional Win32 build can crash in the packaged environment because of these differences. Setting up crash reporting for a packaged Windows Store game means capturing the packaged-environment context that distinguishes these sandbox-related crashes from ordinary bugs.
Packaged is not plain Win32
A game distributed through the Microsoft Store or Xbox on PC is delivered as a packaged build, often in the MSIX format, that runs in a more controlled, sandboxed environment than a traditional Win32 executable. This packaging changes the runtime environment: file access is more restricted, the install location is managed by the system rather than chosen freely, and the app runs with packaged-app permissions and conventions.
These differences mean a game that works as a plain Win32 build can crash when packaged, because assumptions that held for the unpackaged build, about where it can write files, where its data lives, what it can access, no longer hold in the sandboxed packaged environment. Understanding that the packaged Store build is a distinct environment from your Win32 build is the foundation for capturing and interpreting these crashes correctly.
Capture the packaged-environment context
Capture whether the game is running as a packaged Store build and the relevant packaging context, since a crash specific to the packaged environment, often a file-access or permission issue, is identifiable through this context. Without knowing the build is packaged, a sandbox-related crash looks like a general bug, but with the packaging context, it is clearly an environment issue.
This is analogous to capturing the sandbox context for Flatpak or Snap on Linux, the packaged format imposes constraints that the unpackaged build does not, and capturing that you are in the packaged environment lets you recognize the resulting crashes. The packaging context tells you to look at file access, install location, and permissions rather than your general game logic, directing you to the actual cause of a packaged-build crash, which lives in the interaction between your game and the sandbox.
File access and install location differ
The most common source of packaged-build crashes is file access. A packaged game cannot freely write to arbitrary locations the way a Win32 build can, and must use the designated app data locations the packaging provides. A save system or config that writes to a location the sandbox does not permit crashes in the packaged build while working fine as Win32, which is a classic packaging bug.
Capture the context around file-access failures so these are identifiable as packaging issues, and route your game data to the correct app-data locations the packaged environment designates. The install location also differs, managed by the system and read-only in places a Win32 build might have written, so any assumption that your game can write next to its executable will fail when packaged. Recognizing file-access and location crashes as packaging issues, via the captured context, points you to the right fix: using the sandbox-permitted locations.
Game Pass widens your audience
Microsoft Store and Xbox PC distribution includes Game Pass, which can put your game in front of a large subscriber audience, often players who would not have bought it otherwise. This wider, more diverse audience means more varied hardware and more crash exposure, making good crash reporting especially valuable when you launch on Game Pass, since a wave of new players will exercise your game broadly.
Because Game Pass distribution is through the packaged Store environment, all the packaging considerations apply, and the larger audience makes any packaging-related crash affect more players. Capturing crashes with the packaged context, and being ready for the influx of players a Game Pass launch brings, is important for making the most of the opportunity, since a packaging crash that hits a large Game Pass audience is both more visible and more damaging than the same crash with a small player base would be.
Setting it up with Bugnet
Bugnet captures crashes from your packaged Microsoft Store or Xbox PC game with the packaged-environment context and file-access context attached as custom fields, so a crash specific to the sandboxed packaging is identifiable. Reports flow into one dashboard where you can filter packaged-build crashes and distinguish them from any plain Win32 build you also ship.
Group crashes into occurrence counts and look at the file-access and packaging context to find the sandbox-related crashes that the packaged format introduces. Because the packaged Store environment differs from Win32 in ways that cause distinct crashes, this packaging-aware capture is what lets you support Microsoft Store and Game Pass distribution confidently, catching the file-access and permission crashes that the packaging introduces and that a Win32-only testing process would never reveal.
Test the packaged build, not just Win32
Because the packaged environment differs from Win32, test the actual packaged Store build, not just your Win32 build, since the file-access, location, and permission crashes only appear in the sandboxed packaged format. A game that runs perfectly as a Win32 executable can crash on first launch when packaged because it tries to write somewhere the sandbox forbids, and only testing the packaged build reveals this.
Pair that testing with your packaging-aware crash data for the conditions and hardware you cannot test, especially with the wider audience a Game Pass launch brings. Testing the packaged build catches the gross packaging issues before launch, and the captured crashes handle the long tail across the diverse audience. For a game on the Microsoft Store or Game Pass, this combination of testing the real packaged build and capturing packaging-aware crashes is what lets you ship confidently in an environment meaningfully different from the Win32 one you developed in.
The packaged Store build is not your Win32 build. Capture the packaging context, and fix the file access.