While trying to create a C++ actor to test if it can be created with a custom Copyright notice specified in Project Settings, the Live Coding window returns a "Build failed" and error of:

"ERROR: Unable to patch action graph - unexpected executable in compile action (C:\Program Files (x86)\Windows Kits\10\bin\10.0.20348.0\x64\rc.exe)"

 Visual Studio 2019 also pops open a window stating that the project has been modified outside the environment and offers options to reload or ignore. (See attached.)

Steps to Reproduce
  1. Create and open a new Blank C++ project.
  2. Edit > Project Settings > Project > Description > Legal.
  3. Edit the Copyright Notice field with "Copyright Test 2022 UEQA //UE5/Release-5.0" and close settings.
  4. Tools > New C++ Class.
  5. Select "Actor", "Next", and rename class. (ex. "bugtest")
  6. Create Class.

Result: The live coding window will return a "Build Failed" in red and an error just above that line.

Expected Result: The class is built without error.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-145201 in the post.

Login to Vote

ComponentUE - Foundation - Cpp Tools
Affects Versions5.0
Target Fix5.0.3
Fix Commit20434816
Main Commit20448479
Release Commit20434816
CreatedMar 8, 2022
ResolvedJun 1, 2022
UpdatedJan 25, 2023