Skip to content

Windows desktop: permission grant triggers MXC CreateProcessSecurityEnvironment 0x8007000A despite prefer_mxc=false #57645

Open

Description

@rjdrag

Summary

Windows desktop command execution fails before shell startup after granting network/project permissions. Saved user config specifies the elevated sandbox and disables MXC preference, but the failure still identifies the MXC launcher.

Environment

  • Desktop app 26.1023.50603, build 22391, prod; in-app updater reports up to date.
  • Windows 11 Pro, release 10.0.26200; full update revision not collected.
  • PowerShell shell; local Unity project outside the chat's initial Documents workspace.
  • Bundled CLI version not yet established because command startup fails.

Relevant saved configuration

[windows]
sandbox = "elevated"

[features]
prefer_mxc = false

The configuration was read back and confirmed after saving. Desktop app was fully terminated and reopened.

Observed sequence

  1. After reopening, a shell command prints a startup marker successfully.
  2. A read-only Unity CLI editor-status request fails with socket access error 10013 under the initial restricted permissions.
  3. Agent requests network access and project filesystem access using request_permissions; user grants session-scoped access.
  4. The subsequent exec_command fails before the requested command starts:
MXC launcher: failed to create the process security environment:
CreateProcessSecurityEnvironment failed (HRESULT = 0x8007000A)
  1. The restart/grant/failure sequence has repeated across chats. No game code runs during the failure.

Expected

Commands should honor the effective selected sandbox and granted permissions. If a policy or app override requires MXC, surface that explicitly rather than failing with an opaque launcher error.

Limits of diagnosis

Network and filesystem permissions were granted together, so the particular permission change triggering failure is not isolated. The failure naming MXC is observed; the cause of sandbox selection and HRESULT is unknown. A standalone CLI comparison remains pending. No raw logs, credentials, private project source, or session transcripts are attached.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions