Error in Macro Syntax Causes Build to Hang

Hello,

We’ve made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

Thanks

@ hunt Thanks, I just submitted a bug report on it.

Problem

Errors in macro syntax causes the module’s build to hang for 2+ hours (possibly, indefinitely) with no indication of a build error.

Reproduction Steps

  1. Introduced the following macro into a starter project:

    UE_LOG(LogTemp, WrongVerbosityTypeHere, TEXT(“Some Text Here”));

  2. Trigger a build of just the module e.g. right-click project > Build

  3. In build output, look for the following:

    1>Using Visual Studio 2019 14.28.29335 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10).
    1>Building 4 actions with 32 processes…

  4. Wait for 2+ hours or until you get the feeling something is wrong…

  5. Remove or correct the macro usage.

  6. Build completes in seconds.

Development Environment

  • Windows 10 (Version 10.0.19042 Build 19042)

  • Visual Studio Community 2019 (Version 16.8.3)

  • Unread Editor 4.26 (Version 4.26.0-0+++UE4+Release-4.26)

Questions

  1. Is this a known bug? If not, is this the properly place to report this?

  2. If not, is there a configuration in UBT via Visual Studio or in the terminal to report build errors quickly?