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

Lose connection after the screen is turned off #9782

Closed
2 tasks done
adhu2018 opened this issue Apr 26, 2024 · 6 comments
Closed
2 tasks done

Lose connection after the screen is turned off #9782

adhu2018 opened this issue Apr 26, 2024 · 6 comments
Labels

Comments

@adhu2018
Copy link

Platforms

Android

Build

146

Issue

Host a server on Android, enter the game on other devices, and if the Android phone screen is off, the other devices will lose connection

Steps to reproduce

  1. Host a server on Android
  2. Enter the game on other devices
  3. Turn off the phone screen
  4. Wait a moment

Mods used

No response

Save file

No response

(Crash) logs

No response

Submission

  • I have updated to the latest release (https://github.com/Anuken/Mindustry/releases) to make sure my issue has not been fixed.
  • I have searched the closed and open issues to make sure that this problem has not already been reported.
@adhu2018 adhu2018 added the bug label Apr 26, 2024
@camelStyleUser
Copy link

did your phone not kill the process because it can do that

@camelStyleUser
Copy link

camelStyleUser commented Apr 26, 2024

did the game reload
android likes killing processes

@adhu2018
Copy link
Author

After opening the screen, the game runs normally and the process is not killed

@camelStyleUser
Copy link

also where logs(yes its more likely to be a android freezing or killing apps moment but still)

@adhu2018
Copy link
Author

042621.txt

Because there is no useful information in the logs

@Anuken
Copy link
Owner

Anuken commented Apr 26, 2024

Mindustry does not run in the background. If the app can't run, clients will time out.

@Anuken Anuken closed this as completed Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants