Hello, i’m working on my first UE4 project.
I am following this tutorial:
https://wiki.unrealengine.com/First_Person_Shooter_C%2B%2B_Tutorial#Creating_a_GameMode
I make it to setting up the game modes, specifically step 4. When the editor displays the message “Generating code projects…” it never finishes (1 hour waited).
I have visual studio 2013 ultimate installed and verified its c++ compiler is working.
While the editor was in a frozen state I captured the complete contents of the project. I see the game mode cpp and header file was created, so something is happening after that which is causing the editor to freeze.
D:\Users\Bryce\UnrealProjects\MyProject4>dir
/s /b
D:\Users\Bryce\UnrealProjects\MyProject4\Config
D:\Users\Bryce\UnrealProjects\MyProject4\Content
D:\Users\Bryce\UnrealProjects\MyProject4\Intermediate
D:\Users\Bryce\UnrealProjects\MyProject4\MyProject4.uproject
D:\Users\Bryce\UnrealProjects\MyProject4\Saved
D:\Users\Bryce\UnrealProjects\MyProject4\Source
D:\Users\Bryce\UnrealProjects\MyProject4\Config\DefaultEngine.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Config\DefaultGame.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Content\Crash.umap
D:\Users\Bryce\UnrealProjects\MyProject4\Intermediate\CachedAssetRegistry.bin
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Autosaves
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Cloud
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Logs
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Autosaves\PackageRestoreData.json
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Cloud\blackjack_sm.png
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Cloud\blueprint_icon_b.png
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Cloud\collision_icon_sm.png
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Cloud\damageue4_icon_sm.png
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Cloud\elemental_icon.png
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Cloud\interpto_icon_sm.png
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Cloud\newsfeed.json
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Cloud\particles_icon_sm.png
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Cloud\pbr_icon_sm.png
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Cloud\roadmap_icon_sm.png
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Cloud\scifi_icon_sm.png
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Cloud\stylized_40x40.png
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Cloud\ue4release_sm.png
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Cloud\ue4transition_sm.png
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Cloud\ut_icon_sm.png
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Cloud\vehicle_40x40.png
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\CleanSourceConfigs
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\Windows
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\CleanSourceConfigs\Compat.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\CleanSourceConfigs\DeviceProfiles.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\CleanSourceConfigs\Editor.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\CleanSourceConfigs\EditorGameAgnostic.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\CleanSourceConfigs\EditorKeyBindings.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\CleanSourceConfigs\EditorUserSettings.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\CleanSourceConfigs\Engine.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\CleanSourceConfigs\Game.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\CleanSourceConfigs\GameUserSettings.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\CleanSourceConfigs\Input.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\CleanSourceConfigs\Lightmass.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\CleanSourceConfigs\Scalability.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\CleanSourceConfigs\SourceControlSettings.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\CleanSourceConfigs\TemplateDefs.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\Windows\Compat.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\Windows\DeviceProfiles.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\Windows\Editor.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\Windows\EditorKeyBindings.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\Windows\EditorUserSettings.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\Windows\Engine.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\Windows\Game.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\Windows\GameUserSettings.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\Windows\Input.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\Windows\Lightmass.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\Windows\Scalability.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\Windows\SourceControlSettings.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Config\Windows\TemplateDefs.ini
D:\Users\Bryce\UnrealProjects\MyProject4\Saved\Logs\MyProject4.log
D:\Users\Bryce\UnrealProjects\MyProject4\Source\MyProject4
D:\Users\Bryce\UnrealProjects\MyProject4\Source\MyProject4.Target.cs
D:\Users\Bryce\UnrealProjects\MyProject4\Source\MyProject4Editor.Target.cs
D:\Users\Bryce\UnrealProjects\MyProject4\Source\MyProject4\MyProject4.Build.cs
D:\Users\Bryce\UnrealProjects\MyProject4\Source\MyProject4\MyProject4.cpp
D:\Users\Bryce\UnrealProjects\MyProject4\Source\MyProject4\MyProject4.h
D:\Users\Bryce\UnrealProjects\MyProject4\Source\MyProject4\Resources
D:\Users\Bryce\UnrealProjects\MyProject4\Source\MyProject4\TestGameMode.cpp
D:\Users\Bryce\UnrealProjects\MyProject4\Source\MyProject4\TestGameMode.h
D:\Users\Bryce\UnrealProjects\MyProject4\Source\MyProject4\Resources\Windows
D:\Users\Bryce\UnrealProjects\MyProject4\Source\MyProject4\Resources\Windows\MyProject4.ico
D:\Users\Bryce\UnrealProjects\MyProject4\Source\MyProject4\Resources\Windows\MyProject4.rc
Here is the log output in case that is helpful
Log file open, 07/07/14 21:14:07
LogInit:Display: Running engine for game: MyProject4
LogInit: Version: 4.2.1-2101290+++depot+UE4-Releases+4.2
LogInit: Compiled (64-bit): Jun 10 2014 22:21:56
LogInit: Build Configuration: Development
LogInit: Branch Name: ++depot+UE4-Releases+4.2
LogInit: Command line:
LogInit: Base directory: C:/Program Files/Unreal
Engine/4.2/Engine/Binaries/Win64/
LogInit: Rocket: 1
[2014.07.08-02.14.07:140][ 0]LogTaskGraph: Started task graph
with 3 named threads and 4 total
threads.
[2014.07.08-02.14.07:166][ 0]LogOnline:Warning: No default
platform service specified for
OnlineSubsystem
[2014.07.08-02.14.07:185][ 0]LogInit: Presizing for 0 objects not
considered by GC, pre-allocating 0
bytes.
[2014.07.08-02.14.07:191][ 0]LogInit: Object subsystem
initialized
[2014.07.08-02.14.07:192][ 0]LogInit: Selected Device Profile:
[Windows]
[2014.07.08-02.14.07:192][ 0]LogInit: Applying CVar settings
loaded from the selected device
profile: [Windows]
[2014.07.08-02.14.07:252][ 0]LogInit: Computer: BRYCE-CUSTOM
[2014.07.08-02.14.07:252][ 0]LogInit: User: Bryce
[2014.07.08-02.14.07:252][ 0]LogInit: CPU Page size=4096, Cores=4
[2014.07.08-02.14.07:253][ 0]LogInit: High frequency timer
resolution =3.215351 MHz
[2014.07.08-02.14.07:253][ 0]LogMemory: Memory total:
Physical=16.0GB (16GB approx)
Virtual=8192.0GB
[2014.07.08-02.14.07:253][ 0]LogMemory: Platform Memory Stats for
Windows
[2014.07.08-02.14.07:253][ 0]LogMemory: Process Physical Memory:
52.76 MB used, 52.76 MB peak
[2014.07.08-02.14.07:253][ 0]LogMemory: Process Virtual Memory:
29.74 MB used, 29.74 MB peak
[2014.07.08-02.14.07:253][ 0]LogMemory: Physical Memory: 4648.73
MB used, 16332.89 MB total
[2014.07.08-02.14.07:253][ 0]LogMemory: Virtual Memory: 242.16 MB
used, 8388608.00 MB total
[2014.07.08-02.14.07:365][ 0]LogD3D11RHI: Found D3D11 adapter 0:
NVIDIA GeForce GTX 560 Ti (Feature
Level 11_0)
[2014.07.08-02.14.07:365][ 0]LogD3D11RHI: Adapter has 1226MB of
dedicated video memory, 0MB of
dedicated system memory, and 2815MB of
shared system memory, 2 output[s]
[2014.07.08-02.14.07:403][ 0]LogD3D11RHI: Found D3D11 adapter 1:
NVIDIA GeForce 8800 GTS (Feature Level
10_0)
[2014.07.08-02.14.07:403][ 0]LogD3D11RHI: Adapter has 278MB of
dedicated video memory, 0MB of
dedicated system memory, and 3583MB of
shared system memory, 0 output[s]
[2014.07.08-02.14.07:410][ 0]LogD3D11RHI: Found D3D11 adapter 2:
Microsoft Basic Render Driver (Feature
Level 11_0)
[2014.07.08-02.14.07:410][ 0]LogD3D11RHI: Adapter has 0MB of
dedicated video memory, 0MB of
dedicated system memory, and 256MB of
shared system memory, 0 output[s]
[2014.07.08-02.14.07:410][ 0]LogD3D11RHI: Chosen D3D11 Adapter Id
= 0
[2014.07.08-02.14.07:416][ 0]LogRHI: Texture pool is 858 MB (70%
of 1226 MB)
[2014.07.08-02.14.07:439][ 0]LogD3D11RHI: Async texture creation
enabled
[2014.07.08-02.14.07:600][ 0]LogContentStreaming: Texture pool
size is 0.000000MB
[2014.07.08-02.14.08:362][ 0]LogTargetPlatformManager:Display:
Building Assets For Windows
[2014.07.08-02.14.08:509][ 0]LogTargetPlatformManager:Display:
Building Assets For Windows
[2014.07.08-02.14.08:540][ 0]LogDerivedDataCache:Display: Max
Cache Size: 512 MB
[2014.07.08-02.14.08:573][ 0]LogDerivedDataCache: Loaded boot
cache 0.03s 39MB
D:/Users/Bryce/AppData/Local/UnrealEngine/4.2/DerivedDataCache/Boot.ddc.
[2014.07.08-02.14.08:573][ 0]LogDerivedDataCache:Display: Loaded
Boot cache:
D:/Users/Bryce/AppData/Local/UnrealEngine/4.2/DerivedDataCache/Boot.ddc
[2014.07.08-02.14.08:573][ 0]LogDerivedDataCache:
FDerivedDataBackendGraph: Pak pak
cache file
D:/Users/Bryce/UnrealProjects/MyProject4/DerivedDataCache/DDC.ddp
not found, will not use a pak cache.
[2014.07.08-02.14.08:573][ 0]LogDerivedDataCache: Unable to find
inner node Pak for hierarchical cache
Hierarchy.
[2014.07.08-02.14.08:582][ 0]LogDerivedDataCache:Display: Pak
cache opened for reading
../../../Engine/DerivedDataCache/DDC.ddp.
[2014.07.08-02.14.08:619][ 0]LogDerivedDataCache: Using Local
data cache path
D:/Users/Bryce/AppData/Local/UnrealEngine/4.2/DerivedDataCache:
Writable
[2014.07.08-02.14.08:758][ 0]LogMeshUtilities: No automatic mesh
reduction module available
[2014.07.08-02.14.08:758][ 0]LogMeshUtilities: No automatic mesh
merging module available
[2014.07.08-02.14.09:003][ 0]LogInit: WinSock: version 1.1 (2.2),
MaxSocks=32767, MaxUdp=65467
[2014.07.08-02.14.09:334][ 0]LogStreaming:Warning: Failed to read
file
'../../../Engine/Content/Editor/Slate/Icons/ActorIcons/GroupActor_16x.png'
error.
[2014.07.08-02.14.09:334][ 0]LogSlate: Could not find file for
Slate resource:
../../../Engine/Content/Editor/Slate/Icons/ActorIcons/GroupActor_16x.png
[2014.07.08-02.14.09:338][ 0]LogStreaming:Warning: Failed to read
file
'../../../Engine/Content/Editor/Slate/Icons/ActorIcons/DecalActor_16x.png'
error.
[2014.07.08-02.14.09:338][ 0]LogSlate: Could not find file for
Slate resource:
../../../Engine/Content/Editor/Slate/Icons/ActorIcons/DecalActor_16x.png
[2014.07.08-02.14.09:640][ 0]UdpMessaging: Initializing bridge on
interface 0.0.0.0:0 to multicast group
230.0.0.1:6666.
[2014.07.08-02.14.09:817][ 0]SourceControl: Info Source control
is disabled
[2014.07.08-02.14.09:817][ 0]SourceControl: Info Source control
is disabled
[2014.07.08-02.14.09:821][ 0]SourceControl: Info Source control
is disabled
[2014.07.08-02.14.09:935][ 0]BlueprintLog: New page: Editor Load
[2014.07.08-02.14.10:050][ 0]LogObj: 19137 objects as part of
root set at end of initial load.
[2014.07.08-02.14.10:050][ 0]LogUObjectAllocator: 3804776 out of
0 bytes used by permanent object pool.
[2014.07.08-02.14.10:252][ 0]LogEngine: Initializing Engine...
[2014.07.08-02.14.10:336][ 0]LogInit: XAudio2 using 'Speakers (2-
High Definition Audio Device)' : 2
channels at 44.1 kHz using 16 bits per
sample (channel mask 0x3)
[2014.07.08-02.14.10:372][ 0]LogInit: FAudioDevice initialized.
[2014.07.08-02.14.10:412][ 0]LogDerivedDataCache: Saved boot
cache 0.04s 39MB
D:/Users/Bryce/AppData/Local/UnrealEngine/4.2/DerivedDataCache/Boot.ddc.
[2014.07.08-02.14.10:420][ 0]LogInit: Texture streaming: Enabled
[2014.07.08-02.14.10:486][ 0]LogInit: Transaction tracking system
initialized
[2014.07.08-02.14.10:628][ 0]LogAssetRegistry: FAssetRegistry
took 0.0107 seconds to start up
[2014.07.08-02.14.10:849][ 0]LogModuleManager:Warning:
ModuleManager: Unable to load module
'' because the file was not found.
[2014.07.08-02.14.10:852][ 0]LogModuleManager:Warning:
ModuleManager: Unable to load module
'' because the file was not found.
[2014.07.08-02.14.11:004][ 0]LogConsoleResponse:Display:
[2014.07.08-02.14.11:250][ 0]SourceControl: Info Source control
is disabled
[2014.07.08-02.14.11:250][ 0]Cmd: MAP LOAD
FILE="../../../Engine/Content/Maps/Templates/Template_Default.umap"
TEMPLATE=1 SHOWPROGRESS=1
WORLDCOMPOSITION=0
[2014.07.08-02.14.11:250][ 0]LightingResults: New page: Lighting
Build
[2014.07.08-02.14.11:255][ 0]MapCheck: New page: Map Check
[2014.07.08-02.14.11:255][ 0]LightingResults: New page: Lighting
Build
[2014.07.08-02.14.11:264][ 0]LogParticles: Destroying 0 GPU
particle simulations for FXSystem
0x000000D692350A40
[2014.07.08-02.14.11:380][ 0]LogEditorServer: Finished looking
for orphan Actors (0.000 secs)
[2014.07.08-02.14.11:380][ 0]Cmd: MAP CHECKDEP
[2014.07.08-02.14.11:380][ 0]MapCheck: New page: Untitled_1 - Jul
7, 2014, 4:14:11 PM
[2014.07.08-02.14.11:406][ 0]MapCheck: Info ========== Map Check:
0 Error(s), 0 Warning(s), [26.293ms]
==========
[2014.07.08-02.14.11:406][ 0]LogFileHelpers: Loading map
'Template_Default' took 0.157
[2014.07.08-02.14.11:486][ 0]LogCollectionManager: Loaded 0
collections in 0.000759 seconds
[2014.07.08-02.14.11:599][ 0]LogCrashTracker: Crashtracker
disabled due to settings.
[2014.07.08-02.14.11:599][ 0]Cmd: MODE PLACEMENT
[2014.07.08-02.14.11:653][ 0]LogLoad: Full Startup: 5.56 seconds
(BP compile: 0.04 seconds)
[2014.07.08-02.14.11:681][ 0]LogAssetRegistry: Asset discovery
search completed in 1.0639 seconds
[2014.07.08-02.14.11:784][ 0]LogRenderer:Warning: Reallocating
scene