-1
\$\begingroup\$

I made a game in Unity and while testing it on my android phone someone called me and when I opened the game again it didn't continue where it left off. So what I noticed is that when the game goes into the background and I want to open it again it starts from the beginning.

\$\endgroup\$
2
  • \$\begingroup\$ This is nothing special. It just means that the game was removed from RAM, wuch can happen if you leave the app unopened for a while or do other things on your phone (like calling someone) \$\endgroup\$ Commented Sep 2, 2024 at 17:41
  • \$\begingroup\$ I do not agree with the close votes. The question is clear and factually answerable. \$\endgroup\$ Commented Sep 3, 2024 at 9:32

1 Answer 1

1
\$\begingroup\$

I didn't solve the problem though. I managed to keep users' saves safe by using the save system when exiting the game. I used OnApplicationPause to save.

\$\endgroup\$

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.