I have built unreal by running ./Setup.bat, ./GenerateProjectFiles.bat and Building from the resulting visual studio solution.
I right click my project and Open it with the resulting unreal binary. My project is compiled correctly
However when I making changes in my game code and trying to hot reload: It says that hot-reloadable files are expected to contain a hyphen. In other words hot reload is broken.
1>------ Build started: Project: MyGame, Configuration: Development_Editor x64 ------
1>Using bundled DotNet SDK version: 6.0.302
1>Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" -Target="MyGameEditor Win64 Development -Project=\"C:\repos\mygame\MyGame\MyGame.uproject\"" -Target="ShaderCompileWorker Win64 Development -Quiet" -WaitMutex -FromMsBuild -architecture=x64
1>Log file: C:\repos\UnrealEngine\Engine\Programs\UnrealBuildTool\Log.txt
1>Using 'git status' to determine working set for adaptive non-unity build (C:\repos\UnrealEngine).
1>Using 'git status' to determine working set for adaptive non-unity build (C:\repos\mygame).
1>Waiting for 'git status' command to complete
1>Total execution time: 3.25 seconds
1>Hot-reloadable files are expected to contain a hyphen, eg. UnrealEditor-Core
1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command "C:\repos\UnrealEngine\Engine\Build\BatchFiles\Build.bat -Target="MyGameEditor Win64 Development -Project=\"C:\repos\mygame\MyGame\MyGame.uproject\"" -Target="ShaderCompileWorker Win64 Development -Quiet" -WaitMutex -FromMsBuild -architecture=x64" exited with code 6.
1>Done building project "MyGame.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 11 up-to-date, 0 skipped ==========
========== Build started at 11:45 PM and took 04.012 seconds ==========