This is not a bug. You can't forcibly enable exceptions for the installed build. If it pretended to let you before, that was a bug.
It is no longer possible to enable C++ exceptions for the ProjectEditor target in code projects that use the binary Engine. Some fixes that were made for 4.19 now correctly show an error message if bForceEnableExceptions is set to true in the ProjectEditor.Target.cs file. The error message states that exceptions can be enabled if a unique build environment is used. However, adding the suggested line (BuildEnvironment = TargetBuildEnvironment.Unique;) results in another build failure.
RESULT:
The build fails with the following error message: error : System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Unreal Projects\Current Issues\TestException2\Intermediate\Build\Win64\TestException2Editor\Development\Launch\Launch.precompiled'.
EXPECTED:
The build completes successfully, and exceptions are enabled.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-61804 in the post.
10 |
Component | UE - Foundation - Cpp Tools |
---|---|
Affects Versions | 4.19.2, 4.20, 4.21 |
Created | Jul 16, 2018 |
---|---|
Resolved | Jul 17, 2018 |
Updated | Jul 17, 2018 |