Skip to content

TestRunnerService permanently mutates enterPlayModeOptions on interrupted test run #932

@materwelonDhruv

Description

@materwelonDhruv

TestRunnerService saves and restores EditorSettings.enterPlayModeOptionsEnabled and EditorSettings.enterPlayModeOptions around test runs, but if the run is interrupted, the restore never happens. This permanently sets m_EnterPlayModeOptionsEnabled: 1 and m_EnterPlayModeOptions: 1 in ProjectSettings.asset, persisting across editor sessions and polluting version control diffs.

Environment: com.coplaydev.unity-mcp@f335e11a660c, macOS, Unity 6000.3.10f1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions