Packaging fails in a C++ project when the Project Name field (Project Settings->Description->Project Name) contains an apostrophe.

I've attached the logs from the 4.15 version of the project.

This does not occur in a blueprint project.

This did not occur in 4.14.3. This is a regression.

Steps to Reproduce
  1. Create a new C++ project
  2. Build it in Visual Studio
  3. Open the .uproject
  4. Navigate to Project Settings->Description->Project Name and enter That's Weird
  5. Package for Win64

Result: Packaging fails with the following:

<PathOmitted>Engine\Source\Runtime\Launch\Resources\Windows\PCLaunch.rc2(33) : error RC2001: newline in constant

Expected: Packaging process would complete without errors

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

Login to Vote

ComponentUE - Foundation - Core
Affects Versions4.154.16
Target Fix4.16
Fix Commit3350064
Main Commit3386123
CreatedMar 16, 2017
ResolvedApr 3, 2017
UpdatedApr 27, 2018