C1083 Fatal Error: No such file or directory when it's in the same one.

Well hello! Today, i’m having a C1083 error when the files is in the same directory.
I would need help ASAP. Here the output from Live Coding:

Accepted Live coding shortcut
---------- Creating patch ----------
Running C:\Program Files\Epic Games\UE_5.3\Engine\Build\BatchFiles\Build.bat -Target="UnrealEditor Win64 Development -Project=""C:/Users/Flownit/Documents/Unreal Projects/BattleRoyale/BattleRoyale.uproject""" -LiveCoding -LiveCodingModules="C:/Program Files/Epic Games/UE_5.3/Engine/Intermediate/LiveCodingModules.json" -LiveCodingManifest="C:/Program Files/Epic Games/UE_5.3/Engine/Intermediate/LiveCoding.json" -WaitMutex -LiveCodingLimit=100
  Using bundled DotNet SDK version: 6.0.302
  Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" -Target="UnrealEditor Win64 Development -Project=""C:/Users/Flownit/Documents/Unreal Projects/BattleRoyale/BattleRoyale.uproject""" -LiveCoding -LiveCodingModules="C:/Program Files/Epic Games/UE_5.3/Engine/Intermediate/LiveCodingModules.json" -LiveCodingManifest="C:/Program Files/Epic Games/UE_5.3/Engine/Intermediate/LiveCoding.json" -WaitMutex -LiveCodingLimit=100
  Log file: C:\Users\Flownit\AppData\Local\UnrealBuildTool\Log.txt
  Invalidating makefile for UnrealEditor (source file removed)
  Parsing headers for UnrealEditor
    Running Internal UnrealHeaderTool "C:\Users\Flownit\Documents\Unreal Projects\BattleRoyale\BattleRoyale.uproject" "C:\Users\Flownit\Documents\Unreal Projects\BattleRoyale\Intermediate\Build\Win64\UnrealEditor\Development\UnrealEditor.uhtmanifest" -WarningsAsErrors -installed
  Total of 3 written
  Reflection code generated for UnrealEditor in 1.4507457 seconds
  Building UnrealEditor...
  Using Visual Studio 2022 14.39.33523 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
  Determining max actions to execute in parallel (6 physical cores, 12 logical cores)
    Executing up to 6 processes, one per physical core
    Requested 1.5 GB memory per action, 3.82 GB available: limiting max parallel actions to 2
  ------ Building 5 action(s) started ------
  [1/5] Compile [x64] SharedPCH.Engine.Cpp20.cpp
  [2/5] Compile [x64] BaseGameMode.gen.cpp
  C:\Users\Flownit\Documents\Unreal Projects\BattleRoyale\Intermediate\Build\Win64\UnrealEditor\Inc\BattleRoyale\UHT\BaseGameMode.gen.cpp(8): fatal error C1083: Cannot open include file: 'BattleRoyale/Game/BaseGameMode.h': No such file or directory
  [3/5] Compile [x64] BattleRoyale.init.gen.cpp
  [4/5] Compile [x64] BaseGameMode.cpp
  [5/5] Compile [x64] BattleRoyale.cpp
  Total time in Parallel executor: 24.69 seconds
  Total execution time: 28.64 seconds
Build failed.

Thank you, ZeroDrift Games.

Hi @ZeroDriftGames,

The error is because the complier cannot find the file BattleRoyale/Game/BaseGameMode.h

Make sure the include path is correctly specified in your code and project settings. Was the file deleted?

Let me know if you have any other questions.