VSCode finds intellisense errors in Project source files: cannot open source file "UBT_COMPILED_PLATFORM/UBT_COMPILED_PLATFORMPlatformCompilerPreSetup.h"

Similar to [Link Removed], but that was only seen in Binary projects

Version: 1.41.1 (user setup)
Commit: 26076a4de974ead31f97692a0d32f90d735645c0
Date: 2019-12-18T14:58:56.166Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.18362
Name: C/C++
Id: ms-vscode.cpptools
Description: C/C++ IntelliSense, debugging, and code browsing.
Version: 0.26.3
Publisher: Microsoft
VS Marketplace Link:
Steps to Reproduce
  1. Get a Source Workspace that includes QAGame
  2. GenerateProjectFiles.bat -vscode
  3. Open UE4.code-workspace
  4. Navigate to UE4/QAGame/Source/QAGame/Public/QuitHandler.h
  5. Wait for intellisense to process

Intellisense squiggle for "GameFramework/Actor.h" -

#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (F:\UE4_Dev-Build\QAGame\Source\QAGame\Public\QuitHandler.h).C/C++(1696)
cannot open source file "UBT_COMPILED_PLATFORM/UBT_COMPILED_PLATFORMPlatformCompilerPreSetup.h" (dependency of "GameFramework/Actor.h")C/C++(1696)

No intellisense errors

Have Comments or More Details?

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

Login to Vote

ComponentUE - Foundation - Cpp Tools
Affects Versions4.25
Target Fix4.26
Fix Commit13263645
Main Commit14125797
CreatedJan 28, 2020
ResolvedMay 11, 2020
UpdatedAug 17, 2020