Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C#: Fix editor unable to play game after IDE PlayRequest #41362

Merged

Conversation

neikeq
Copy link
Contributor

@neikeq neikeq commented Aug 18, 2020

The editor wasn't clearing the debugger agent settings properly after a processing a play request from an IDE. This caused consequent play attempts to fail if not launched from the IDE, as the game would still attempt and fail to connect to the debugger.

The concrete cause: Forgetting to clear the GODOT_MONO_DEBUGGER_AGENT environment variable.

Fixes godotengine/godot-csharp-visualstudio#7 (This issue was reproducible with VSCode and VSMac/MonoDevelop as well)

The editor wasn't clearing the debugger agent
settings properly after a processing a play
request from an IDE. This caused consequent play
attempts to fail if not launched from the IDE,
as the game would still attempt and fail to
connect to the debugger.

The concrete cause: Forgetting to clear the
`GODOT_MONO_DEBUGGER_AGENT` environment variable.
@neikeq neikeq added this to the 4.0 milestone Aug 18, 2020
@neikeq neikeq added the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Aug 18, 2020
@akien-mga akien-mga merged commit f568ced into godotengine:master Aug 18, 2020
@akien-mga
Copy link
Member

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 3.2.3.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Aug 19, 2020
@neikeq neikeq deleted the fix-play-issues-after-ide-play-request branch May 13, 2021 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Run The game from The Editor is No Longer Working when using Play In Editor from VS .
2 participants