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

Add --run-instance=<num> when run from editor #57910

Closed

Conversation

mhilbrunner
Copy link
Member

@mhilbrunner mhilbrunner commented Feb 10, 2022

This adds the instance number as --run-instance=<num> when the game is run from the editor.
I.e. the first instance gets --run-instance=1, the second one --run-instance=2 and so on.

This is useful for multiplayer testing, for example to automatically use different user profiles for different instances, speeding up testing by not having to manually select or login as different users.

Being able to launch multiple instances from the editor was implemented in #36920, this is a small improvement upon that.

Edit: From talking with Fales, it may make more sense to instead have custom args per instance. Will convert to draft for now.

Superseded by #57975

This adds the instance number as --run-instance=<num> when the game is run from the editor.
I.e. the first instance gets --run-instance=1, the second one --run-instance=2 and so on.

This is useful for multiplayer testing, for example to automatically use different user profiles for different instances, speeding up testing by not having to manually select or login as different users.
@mhilbrunner
Copy link
Member Author

Closing, we'll go with custom args per instance instead.

@Calinou
Copy link
Member

Calinou commented Feb 10, 2022

Closing, we'll go with custom args per instance instead.

For reference, there's a proposal tracking this: godotengine/godot-proposals#522

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants