Including files with a .cc extension instead of .cpp in a code project used to build fine in Visual Studio. This is no longer the case in 4.21.2. The error message that results indicates that only C++ files are expected to have CachedCPPEnvironments. However, the .cc extension is considered to be a C++ file.
REGRESSION:
Yes. This did not occur in 4.21.1. It also does not occur in Main, but this may be because whichever change resulted in this error occurring has not been merged back into Main yet.
RESULT:
The build fails with the following error: UnrealBuildTool : error : Was only expecting C++ files to have CachedCPPEnvironments!
EXPECTED:
The build completes successfully.
I am not able to find world outliner how to enable it?
How can i modify the param name in EQS node
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
Delay nodes occasionally don't fire the "Completed" output in a nativized build
How does TextureRenderTarget2D get TArray<uint8> type data?
How to achieve HLSL Multiple Render Target in Material blueprints?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-68548 in the post.
32 |
Component | UE - Foundation - Cpp Tools |
---|---|
Affects Versions | 4.21.2 |
Target Fix | 4.22 |
Created | Jan 15, 2019 |
---|---|
Resolved | Jan 16, 2019 |
Updated | Jan 23, 2019 |