# Platform Cook error when preparing platform data when Publishing Project

**URL:** <https://forums.unrealengine.com/t/platform-cook-error-when-preparing-platform-data-when-publishing-project/2618298>\
**Category:** Issues and Bug Reporting\
**Tags:** Cooking, data, Switch, unreal-editor-for-fortnite, fortnite-creative, Platform, cook, bug-report, fortnite, Cooking-Failed\
**Created:** [July 25, 2025, 6:22pm UTC](https://forums.unrealengine.com/t/platform-cook-error-when-preparing-platform-data-when-publishing-project/2618298 "2025-07-25T18:22:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PAKPrime](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pakprime/32/1063291_2.png) [@PAKPrime](https://forums.unrealengine.com/u/PAKPrime)\
**Post date:** [July 25, 2025, 6:22pm UTC](https://forums.unrealengine.com/t/platform-cook-error-when-preparing-platform-data-when-publishing-project/2618298/1 "2025-07-25T18:22:56Z")

</div>

### Summary

I am about to publish my project when i receive

Switch: Failed to prepare data for PROJECTNAME  
ValkyriePreparedPlatformData: Error: Switch: Failed to prepare data for PROJECTNAME.

I edit afterwards by removing useless verse devices and codes and rebuilt and get

Android: Failed to prepare data for PROJECTNAME  
Switch: Failed to prepare data for PROJECTNAME

when publishing project, preparing platform data for these platforms.

Additionally it says:

Project failed to cook (see Message Log)

### Please select what you are reporting on:

Unreal Editor for Fortnite

### What Type of Bug are you experiencing?

Publishing

### Steps to Reproduce

Launch session  
Perform successful memory calculation  
Publish project

### Expected Result

Redirect to creator portal and be able to submit an island.

### Observed Result

Error logs above and additional popup dialog

### Platform(s)

windows

### Upload an image

 ![Screenshot 2025-07-14 161232.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/7/e/97e53dd51b93957c31eecc1677dfa8b96234ef98.png)  
 ![Screenshot 2025-07-14 161202.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/6/f/f6fc16cd2449e1b4f259df7d9c7f42d6e9073515.png)

### Additional Notes

I tried saving work, removing verse scripts, optimizing my project, resizing textures to be bearable on Android and switch devices etc.

Sometimes Android also fails, but all the time Switch fails.

---

<div class="post-metadata">

**Author:** ![PAKPrime](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pakprime/32/1063291_2.png) [@PAKPrime](https://forums.unrealengine.com/u/PAKPrime)\
**Post date:** [August 2, 2025, 2:20pm UTC](https://forums.unrealengine.com/t/platform-cook-error-when-preparing-platform-data-when-publishing-project/2618298/2 "2025-08-02T14:20:47Z")

</div>

FIxed. Publish Private Code after memory calculation as normal, even if you get the Switch/Android/XSX/XB1 cook errors. It doesn’t affect publication. You may publish properly.

---

<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:** [January 21, 2026, 6:23pm UTC](https://forums.unrealengine.com/t/platform-cook-error-when-preparing-platform-data-when-publishing-project/2618298/3 "2026-01-21T18:23:27Z")

</div>

This topic was automatically closed after 180 days. New replies are no longer allowed.
