# Packaging and deploying to Android deletes cooked data for other platforms

**URL:** <https://forums.unrealengine.com/t/packaging-and-deploying-to-android-deletes-cooked-data-for-other-platforms/395291>\
**Category:** Mobile\
**Tags:** Cooking, cooked, unreal-engine, bug-report, packaging-projects, CPP, question\
**Created:** [June 1, 2017, 9:52pm UTC](https://forums.unrealengine.com/t/packaging-and-deploying-to-android-deletes-cooked-data-for-other-platforms/395291 "2017-06-01T21:52:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e85d74211](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e85d74211](https://forums.unrealengine.com/u/anonymous_user_e85d74211)\
**Post date:** [June 1, 2017, 9:52pm UTC](https://forums.unrealengine.com/t/packaging-and-deploying-to-android-deletes-cooked-data-for-other-platforms/395291/1 "2017-06-01T21:52:00Z")

</div>

I’m working on a game that runs a dedicated server, with clients connecting via Android. I’m also supporting Windows clients for local testing.

To test locally, I build **Development Editor** , **Development Server** , and **Development Client** , then cook content by running `UE4Editor.exe MyGame.uproject -run=cook -targetplatform=WindowsNoEditor+WindowsServer -iterate -log`. That allows me to run `MyGameServer.exe -log` and then connect clients via `MyGame.exe 127.0.0.1`.

To deploy to Android, I open the editor and choose Launch (on my connected Android device) to invoke the full compile/cook/package/deploy pipeline. I can then launch the installed app, and connect by entering `open ip-address-of-server` in the remote console.

Here’s the problem: when the Android build is generated, all the cooked content in `MyGame/Saved/Cooked/WindowsNoEditor` and `MyGame/Saved/Cooked/WindowsServer` is deleted, so I need to run the WindowsNoEditor+WindowsServer cook step again before I can run the server.

What gives? I wouldn’t expect a build for one platform to blast away completely unrelated data from a different platform.

---

<div class="post-metadata">

**Author:** ![SkyeEden](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/skyeeden/32/1116094_2.png) [@SkyeEden](https://forums.unrealengine.com/u/SkyeEden)\
**Post date:** [March 15, 2022, 6:23pm UTC](https://forums.unrealengine.com/t/packaging-and-deploying-to-android-deletes-cooked-data-for-other-platforms/395291/2 "2022-03-15T18:23:59Z")

</div>


