# The game is closed by the Android operating system

**URL:** <https://forums.unrealengine.com/t/the-game-is-closed-by-the-android-operating-system/2310469>\
**Category:** Game Production\
**Tags:** unreal-engine, question\
**Created:** [January 30, 2025, 3:47pm UTC](https://forums.unrealengine.com/t/the-game-is-closed-by-the-android-operating-system/2310469 "2025-01-30T15:47:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alorendill](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alorendill/32/1026697_2.png) [@Alorendill](https://forums.unrealengine.com/u/Alorendill)\
**Post date:** [January 30, 2025, 3:47pm UTC](https://forums.unrealengine.com/t/the-game-is-closed-by-the-android-operating-system/2310469/1 "2025-01-30T15:47:55Z")

</div>

hey, guys! =)  
The game has authorization through the Epic Games cross-platform system. The authorization process takes place immediately at the beginning of the game. A browser opens with an Epic Games login page. On some devices (android), authorization is fine and after that the game opens with an authorized user. But on some devices, after authorization, the browser window does not close, and the game process itself is destroyed (presumably by the android operating system). If you try to deploy the game, it starts from the very beginning and authorization starts again.  
There are a lot of different instructions on the Internet on how to prevent the operating system from closing the application, but nothing helped.  
Maybe someone has encountered a similar problem? Is there any solution from Unreal Engine?

---

<div class="post-metadata">

**Author:** ![Alorendill](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alorendill/32/1026697_2.png) [@Alorendill](https://forums.unrealengine.com/u/Alorendill)\
**Post date:** [February 6, 2025, 3:40pm UTC](https://forums.unrealengine.com/t/the-game-is-closed-by-the-android-operating-system/2310469/2 "2025-02-06T15:40:37Z")

</div>

Hey, guys! =)  
The solution turned out to be quite simple.  
Some types of smartphone operating systems (mainly on smartphones with a small amount of RAM) do force shut down minimized applications.  
It was all about the textures. Working textures strongly affect the amount of RAM a game uses. To optimize RAM consumption, I recommend using low-resolution textures, and if this is not possible, then use a virtual texture streaming system. This system will help reduce RAM consumption, but it will slightly increase the load on the CPU.

[\> Link to the documentation on the UE5 virtual streaming system.](https://dev.epicgames.com/documentation/en-us/unreal-engine/streaming-virtual-texturing-in-unreal-engine)

---

<div class="post-metadata">

**Author:** ![jack\_james](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jack\_james](https://forums.unrealengine.com/u/jack_james)\
**Post date:** [February 22, 2025, 12:12pm UTC](https://forums.unrealengine.com/t/the-game-is-closed-by-the-android-operating-system/2310469/3 "2025-02-22T12:12:22Z")

</div>

171203

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [March 24, 2025, 12:12pm UTC](https://forums.unrealengine.com/t/the-game-is-closed-by-the-android-operating-system/2310469/4 "2025-03-24T12:12:55Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
