Hi, I’m using a MacBook Pro (M1) and have installed Unreal Engine 5.6.1. I’ve set up the source code editor to use Visual Studio Code, following the official Unreal Engine documentation.
However, I’m facing the following issues:
Current Issue Summary
- When I create any Unreal Engine C++ project, an empty file named (Mac).code-workspace is generated.
Inside the project folder, another .code-workspace file (without “(Mac)” in its name) is also created.
When opening a class from within Unreal Engine, it opens in the (Mac).code-workspace, which is completely empty.
- Possibly because of this, IntelliSense does not work in VS Code.
I also get the following error message:
include errors detected. Consider updating your compile_commands.json or includePath.
Squiggles are disabled for this translation unit
(/Users/…/Documents/Unreal Projects/MultiShooterGame/Source/MultiShooterGame/MultiShooterGame.h).
C/C++(1696)
Compilation itself works fine, but IntelliSense features (like header file reference and error squiggles) do not function.
I have followed every step in the official Unreal Engine setup guide for VS Code:
Setting up Visual Studio Code for Unreal Engine
If the empty (Mac).code-workspace file is not supposed to be blank, how can I fix or regenerate it properly?
I’ve also tried several suggestions from generative AI (such as configuring Xcode paths and toolchains), but the issue persists.
Development Environment
Unreal Engine: 5.6.1
macOS: Tahoe 26.0.1
Xcode: 16.4
Visual Studio Code & all extensions: Latest versions

