# How do you fix packaging warning about FText initialized from FString at cook time?

**URL:** <https://forums.unrealengine.com/t/how-do-you-fix-packaging-warning-about-ftext-initialized-from-fstring-at-cook-time/385622>\
**Category:** Mobile\
**Tags:** Cooking, fstring, FText, unreal-engine, Android, Packaging, question\
**Created:** [February 21, 2017, 4:34am UTC](https://forums.unrealengine.com/t/how-do-you-fix-packaging-warning-about-ftext-initialized-from-fstring-at-cook-time/385622 "2017-02-21T04:34:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![F3NR1S](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@F3NR1S](https://forums.unrealengine.com/u/F3NR1S)\
**Post date:** [February 21, 2017, 4:34am UTC](https://forums.unrealengine.com/t/how-do-you-fix-packaging-warning-about-ftext-initialized-from-fstring-at-cook-time/385622/1 "2017-02-21T04:34:29Z")

</div>

Hello,

I am cleaning up packaging, deployment, and other build warnings. I am not having success in solving the following warning during packaging for Android target:

```
UATHelper: Packaging (Android (All)): UE4Editor-Cmd: [2017.02.21-04.12.38:422][0]LogText:Warning: Saving FText "<string>" which has been initialized from FString at cook time resave of source package /Game/<LevelPath> may fix issue.

```

I did try the mentioned possible solution. Resaving the package did not solve the warning. The package is a level.  
Any suggestion would be appreciated.

Thank you in advance,

-F

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [February 21, 2017, 6:46pm UTC](https://forums.unrealengine.com/t/how-do-you-fix-packaging-warning-about-ftext-initialized-from-fstring-at-cook-time/385622/2 "2017-02-21T18:46:57Z")

</div>

Hey F3NR1S,

Could you please provide me with screenshots of Project Settings-\>Platforms-\>Android and Android SDK windows? (Please note that the Android section may require more than one screenshot as it is a lengthy category). I’d like to take a look at your settings.

Could you also please provide your full output log as well?

Thank you

---

<div class="post-metadata">

**Author:** ![F3NR1S](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@F3NR1S](https://forums.unrealengine.com/u/F3NR1S)\
**Post date:** [February 22, 2017, 1:53am UTC](https://forums.unrealengine.com/t/how-do-you-fix-packaging-warning-about-ftext-initialized-from-fstring-at-cook-time/385622/3 "2017-02-22T01:53:00Z")

</div>

Hello Sean,

Thank you for your support. The requested information is available here

-F

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [February 22, 2017, 4:06pm UTC](https://forums.unrealengine.com/t/how-do-you-fix-packaging-warning-about-ftext-initialized-from-fstring-at-cook-time/385622/4 "2017-02-22T16:06:10Z")

</div>

Do me a favor and try deleting your Saved and Intermediate folders to see if that helps resolve the issue.

---

<div class="post-metadata">

**Author:** ![F3NR1S](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@F3NR1S](https://forums.unrealengine.com/u/F3NR1S)\
**Post date:** [February 23, 2017, 2:01am UTC](https://forums.unrealengine.com/t/how-do-you-fix-packaging-warning-about-ftext-initialized-from-fstring-at-cook-time/385622/5 "2017-02-23T02:01:41Z")

</div>

I deleted the Saved and Intermediate folders. The warning persists.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [February 28, 2017, 3:14pm UTC](https://forums.unrealengine.com/t/how-do-you-fix-packaging-warning-about-ftext-initialized-from-fstring-at-cook-time/385622/6 "2017-02-28T15:14:40Z")

</div>

So this warning is coming from FText::SerializeText. What I’d recommend is going through your code or blueprints and making sure you’re not attempting to initialize any FText variables by using a string. Also, keep in mind that unless they’re affecting functionality, you can typically safely ignore warnings when packaging.

---

<div class="post-metadata">

**Author:** ![F3NR1S](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@F3NR1S](https://forums.unrealengine.com/u/F3NR1S)\
**Post date:** [March 3, 2017, 4:02am UTC](https://forums.unrealengine.com/t/how-do-you-fix-packaging-warning-about-ftext-initialized-from-fstring-at-cook-time/385622/7 "2017-03-03T04:02:59Z")

</div>

I accept this resolution for now. A warning shows something is not as it should be. My current understanding is that it is okay to ignore this warning when hardcoding FString in blueprints instead of localisable text for project for which localization isn’t important. Thank you for the good help Sean.
