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

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

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

Hello Sean,

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

-F

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

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

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.

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.