My compilation stops

My compilation just stops at MainGun.cpp(Gun.cpp in course).
I tried to put this lines bUseUnityBuild = false; bForceUnityBuild = false; in target.cs files , but it didn’t help.
Compilation log in vs
1> Running UnrealHeaderTool “F:\Shooter\Shooter.uproject” “F:\Shooter\Intermediate\Build\Win64\ShooterEditor\Development\ShooterEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -abslog=“C:\Users\Mihail\AppData\Local\UnrealBuildTool\Log_UHT.txt” -installed
1> Reflection code generated for ShooterEditor in 3,9841172 seconds
1> Building ShooterEditor…
1> Using Visual Studio 2019 14.28.29334 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 13 actions with 6 processes…
1> [1/13] Default.rc2
1> [2/13] SharedPCH.Engine.ShadowErrors.cpp
1> [3/13] Shooter.cpp
1> [4/13] Shooter.init.gen.cpp
1> [5/13] ShooterGameModeBase.cpp
1> [6/13] TPS_Character.gen.cpp
1> [7/13] ShooterGameModeBase.gen.cpp
1> [8/13] MainGun.gen.cpp
1> [9/13] MainGun.cpp

Unreal Version 26.2
Visual Studio 2017

As in compiling forever? Could you try do a complete rebuild?
In VS Code that would be
Ctrl + Shift + B > ProjectNameEditor Platform Development Rebuild.

Where ProjectName is the name of your project and Platform is the platform you’re targeting e.g. Win64

I am using just visual studio instead of visual studio code. And when I pressing Ctrl + Shift + B it just starts compiling.

Maybe i should reinstall visual studio?

I was waiting for the end of the compilation for about 2 hours. My cpu is intel i5 9400f.

In that case it would be Build > Rebuild.

Now it stops at [9/13] ShooterGameModeBase.gen.cpp

I reinstalled my Visual Studio and it helped me)

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms