Map compiles fine, but game crashes when it loads the map

LOG:



Convar developer has multiple help strings:
	parent (wins): "Set developer message level"
	child: "Set developer message level."
CSoundEmitterSystem:  Registered 14398 sounds
CResponseSystem:  scripts	alker\response_rules.txt (361 rules, 502 criteria, and 348 responses)
maxplayers set to 1
Heap: 256.00 Mb
Steam config directory: C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\platform\config
Parsed 23 text messages
CClientSteamContext logged on = 1
Convar developer has multiple help strings:
	parent (wins): "Set developer message level"
	child: "Set developer message level."
Hud element 'CMapOverview' doesn't have an entry 'overview' in scripts/HudLayout.res
CGameEventManager::AddListener: event 'achievement_earned' unknown.
[Cloud]: SUCCEESS retrieved cfg/config.cfg from remote storage into cfg/config.cfg
execing config.cfg
Unknown command "cl_thirdperson"
cc_lang = 
JOY_AXIS_X:  mapped to Turn (absolute)
JOY_AXIS_Y:  mapped to Look (absolute)
JOY_AXIS_Z:  unmapped
JOY_AXIS_R:  mapped to Forward (absolute)
JOY_AXIS_U:  mapped to Side (absolute)
JOY_AXIS_V:  unmapped
Advanced Joystick settings initialized
Unknown command "sv_backspeed"
Not playing a local game.
[Cloud]: SUCCEESS retrieved materials/vgui/logos/spray.vtf from remote storage into materials/vgui/logos/spray.vtf
[Cloud]: SUCCEESS retrieved materials/vgui/logos/spray.vmt from remote storage into materials/vgui/logos/spray.vmt
Sound Initialization: Start
DS:stereo speaker configuration detected
Set primary sound buffer format: yes
Using secondary sound buffer
   2 channel(s)
   16 bits/sample
   44100 samples/sec
DirectSound initialized
Sound Initialization: Finish, Sampling Rate: 44100
4 CPUs, Frequency: 3.0 Ghz,  Features: AuthenticAMD SSE SSE2 MMX 3DNow RDTSC CMOV FCMOV
execing valve.rc
execing autoexec.cfg
material "vgui/servers/icon_replay" not found.
--- Missing Vgui material vgui/servers/icon_replay
material "vgui/servers/icon_replay_column" not found.
--- Missing Vgui material vgui/servers/icon_replay_column
---- Host_NewGame ----
Spawn Server: rp_thetunnel
execing skill_manifest.cfg
execing skill.cfg
execing skill_episodic.cfg
Set Gravity 600.0 (0.250 tolerance)
PrecacheScriptSound 'ep_02.mag_aband_uptoyou' failed, no such sound script entry
PrecacheScriptSound 'ep_01.al_combat_thanks' failed, no such sound script entry
PrecacheScriptSound 'ep_01.al_sniper_grabroller' failed, no such sound script entry
PrecacheScriptSound 'ep_01.al_sniper_dontwasteroller' failed, no such sound script entry
PrecacheScriptSound 'Hud.Hint' failed, no such sound script entry
ERROR!: Can't create physics object for models/props_lab/rotato.mdl
ERROR!: Can't create physics object for models/props_lab/rotato.mdl
ERROR!: Can't create physics object for models/props_lab/rotato.mdl
material "sprites/candle_flame_01" not found.
Unable to load sprite material materials/sprites/candle_flame_01.vmt!
'cfg/motd.txt' not found; not loaded
'cfg/motd_text.txt' not found; not loaded
prop_dynamic: Could not find lighting origin entity named 'lightorigin'!
Created class baseline: 14 classes, 3144 bytes.
Game started


Half-Life 2
Map: rp_thetunnel
Players: 1 / 1
Build: 2422905
Server Number: 1


material "de_train/train_cement_stain_01" not found.
material "decals/dirt/cr_dec_dirt04" not found.
material "decals/dirt/l10_dirt02" not found.
material "se1_decals/se1_pothole_decal_03" not found.
material "labs/se1_decal_floor_spill_01" not found.
material "decals/wallcrack/wallcrack08" not found.
material "labs/se1_decal_speckle_tileable_01" not found.
material "labs/se1_decal_fuel_stain_01" not found.
material "decals/l01_dung_01" not found.
material "decals/dirt/cr_dec_dirt03" not found.
material "decals/dirt/cr_dec_dirt01" not found.
material "decals/flesh/l10_stain_04" not found.
material "de_train/train_dirt_decal_02" not found.
material "labs/se1_decal_floor_grime_02" not found.
material "se1_decals/se1_cementstain_decal_01" not found.
material "decals/l02_dirtwall" not found.
Initializing renderer...
Error! CMapOverview::SetMap: couldn't load file resource/overviews/rp_thetunnel.txt.
Sending full update to Client Jack Skellington³
Set Gravity 600.0 (0.250 tolerance)
Signon traffic "CLIENT":  incoming 60.234 KB, outgoing 833 bytes
Queued Material System: ENABLED!
Compact freed 364544 bytes
JOY_AXIS_X:  mapped to Turn (absolute)
JOY_AXIS_Y:  mapped to Look (absolute)
JOY_AXIS_Z:  unmapped
JOY_AXIS_R:  mapped to Forward (absolute)
JOY_AXIS_U:  mapped to Side (absolute)
JOY_AXIS_V:  unmapped
Advanced Joystick settings initialized
Node Graph out of Date. Rebuilding... (0, 1, 0)
Redownloading all lightmaps
R_RedownloadAllLightmaps took 48.169 msec!


obtained using -condebug

Do you have the actual compile log?

Compile Log:






materialPath: C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2\materials
Loading C:\Users\Jonathan\Documents\Game Mods\Source Engine Mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.vmf
Could not locate 'GameData' key in c:\program files (x86)\steam\steamapps\common\half-life 2\hl2\gameinfo.txt
fixing up env_cubemap materials on brush sides...
0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10Processing areas...done (0)
Building Faces...done (0)
Chop Details...done (0)
Find Visible Detail Sides...
Merged 156 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing C:\Users\Jonathan\Documents\Game Mods\Source Engine Mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.prt...Building visibility clusters...
done (0)
Creating default LDR cubemaps for env_cubemap using skybox materials:
   skybox/sky_day01_01*.vmt
 ! Run buildcubemaps in the engine to get the correct cube maps.
Creating default HDR cubemaps for env_cubemap using skybox materials:
   skybox/sky_day01_01*.vmt
 ! Run buildcubemaps in the engine to get the correct cube maps.
Finding displacement neighbors...
Found a displacement edge abutting multiple other edges.
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...
done (1) (100713 bytes)
Error! To use model "models/props_lab/freightelevator.mdl"
      with prop_static, it must be compiled with $staticprop!
Error loading studio model "models/props_lab/freightelevator.mdl"!
Error loading studio model "models/props/de_tides/vending_tshirt.mdl"!
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 2129 texinfos to 343
Reduced 40 texdatas to 31 (1356 bytes to 1121)
Writing C:\Users\Jonathan\Documents\Game Mods\Source Engine Mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.bsp
2 seconds elapsed



4 threads
reading c:\users\jonathan\documents\game mods\source engine mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.bsp
reading c:\users\jonathan\documents\game mods\source engine mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.prt
 232 portalclusters
 687 numportals
0...1...2...3...4...5...6...7...8...9...10Optimized: 4615 visible clusters (10.77%)
Total clusters visible: 42857
Average clusters visible: 184
Building PAS...
Average clusters audible: 232
visdatasize:14590  compressed from 14848
writing c:\users\jonathan\documents\game mods\source engine mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.bsp
0 seconds elapsed



[Reading texlights from 'lights.rad']
[45 texlights parsed from 'lights.rad']

Loading c:\users\jonathan\documents\game mods\source engine mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.bsp
3309 faces
1 degenerate faces
947069 square feet [136378016.00 square inches]
1240 Displacements
80929 Square Feet [11653806.00 Square Inches]
3308 patches before subdivision
80074 patches after subdivision
21 direct lights
0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10transfers 29582349, max 1244
transfer lists: 225.7 megs
0...1...2...3...4...5...6...7...8...9...10	Bounce #1 added RGB(9259, 5342, 1740)
0...1...2...3...4...5...6...7...8...9...10	Bounce #2 added RGB(1109, 565, 147)
0...1...2...3...4...5...6...7...8...9...10	Bounce #3 added RGB(215, 116, 27)
0...1...2...3...4...5...6...7...8...9...10	Bounce #4 added RGB(60, 35, 8)
0...1...2...3...4...5...6...7...8...9...10	Bounce #5 added RGB(20, 12, 3)
0...1...2...3...4...5...6...7...8...9...10	Bounce #6 added RGB(7, 4, 1)
0...1...2...3...4...5...6...7...8...9...10	Bounce #7 added RGB(2, 1, 0)
0...1...2...3...4...5...6...7...8...9...10	Bounce #8 added RGB(1, 1, 0)
Build Patch/Sample Hash Table(s).....Done<0.0718 sec>
0...1...2...3...4...5...6...7...8...9...10FinalLightFace Done
0 of 0 (0% of) surface lights went in leaf ambient cubes.
0...1...2...3...4...5...6...7...8...9...10Writing leaf ambient...done
Ready to Finish

Object names       Objects/Maxobjs  Memory / Maxmem  Fullness 
------------       ---------------  ---------------  -------- 
models                   4/1024          192/49152    ( 0.4%) 
brushes                263/8192         3156/98304    ( 3.2%) 
brushsides            2405/65536       19240/524288   ( 3.7%) 
planes                7788/65536      155760/1310720  (11.9%) 
vertexes              4970/65536       59640/786432   ( 7.6%) 
nodes                  553/65536       17696/2097152  ( 0.8%) 
texinfos               343/12288       24696/884736   ( 2.8%) 
texdata                 31/2048          992/65536    ( 1.5%) 
dispinfos             1240/0          218240/0        ( 0.0%) 
disp_verts           33800/0          676000/0        ( 0.0%) 
disp_tris            44480/0           88960/0        ( 0.0%) 
disp_lmsamples      333400/0          333400/0        ( 0.0%) 
faces                 3309/65536      185304/3670016  ( 5.0%) 
hdr faces                0/65536           0/3670016  ( 0.0%) 
origfaces             2067/65536      115752/3670016  ( 3.2%) 
leaves                 558/65536       17856/2097152  ( 0.9%) 
leaffaces             2445/65536        4890/131072   ( 3.7%) 
leafbrushes            579/65536        1158/131072   ( 0.9%) 
areas                    2/256            16/2048     ( 0.8%) 
surfedges            22887/512000      91548/2048000  ( 4.5%) 
edges                13875/256000      55500/1024000  ( 5.4%) 
LDR worldlights         21/8192         1848/720896   ( 0.3%) 
HDR worldlights          0/8192            0/720896   ( 0.0%) 
leafwaterdata            0/32768           0/393216   ( 0.0%) 
waterstrips            113/32768        1130/327680   ( 0.3%) 
waterverts               0/65536           0/786432   ( 0.0%) 
waterindices          2859/65536        5718/131072   ( 4.4%) 
cubemapsamples           4/1024           64/16384    ( 0.4%) 
overlays                 1/512           352/180224   ( 0.2%) 
LDR lightdata         [variable]     3067036/0        ( 0.0%) 
HDR lightdata         [variable]           0/0        ( 0.0%) 
visdata               [variable]       14590/16777216 ( 0.1%) 
entdata               [variable]       30151/393216   ( 7.7%) 
LDR ambient table      558/65536        2232/262144   ( 0.9%) 
HDR ambient table      558/65536        2232/262144   ( 0.9%) 
LDR leaf ambient       770/65536       21560/1835008  ( 1.2%) 
HDR leaf ambient       558/65536       15624/1835008  ( 0.9%) 
occluders                0/0               0/0        ( 0.0%) 
occluder polygons        0/0               0/0        ( 0.0%) 
occluder vert ind        0/0               0/0        ( 0.0%) 
detail props          [variable]           1/12       ( 8.3%) 
static props          [variable]           1/1256     ( 0.1%) 
pakfile               [variable]      534484/0        ( 0.0%) 
physics               [variable]      100713/4194304  ( 2.4%) 
physics terrain       [variable]      256528/1048576  (24.5%) 

Level flags = 0

Total triangle count: 7953
Writing c:\users\jonathan\documents\game mods\source engine mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.bsp
1 minute, 10 seconds elapsed


This needs a fix:


Error! To use model "models/props_lab/freightelevator.mdl"
      with prop_static, it must be compiled with $staticprop!
Error loading studio model "models/props_lab/freightelevator.mdl"!
Error loading studio model "models/props/de_tides/vending_tshirt.mdl"!

This:


Found a displacement edge abutting multiple other edges.

Also, it appears that you’re doing it fast compile type.

Compiled with normal on vrad and vvis, and fixed the prop errors. Same thing happened.

Your compile log doesn’t report many errors regarding map issues.

The only thing left I can spot is:


0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10transfers 29582349, max 1244

Also, you might want to check the optimization, just in case.

Do you have any player spawns? Sounds like a stupid question, but that’s a crash cause.

Did you fix the displacement problem? Those are often the cause of on-launch crashes.

Source games can generally tolerate maps not having a spawn point. It will either keep you stuck in spectate mode or spawn you at 0,0,0.


0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10transfers 29582349, max 1244

I think this is the culprit, though I have no idea why it would be overflowing. Swaptransfers is something to do with how much light radiosity calculates on the first bounce. It could be that you have a light somewhere with insane values, like having color values over 255 or lumen values in a ridiculous range.

It could also likely be caused by having styles lights with bad settings.

And it could also be that the VMF is corrupted in some way.

I would try resetting all lights in the level to default values, or removing and re-adding all lights with default values to make sure hammer doesn’t try and troll you. You could also compile without the VRAD process and see if the map works with fullbright.

Compiled with vrad off, still crashed

compile log



materialPath: C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\ep2\materials
Loading C:\Users\Jonathan\Documents\Game Mods\Source Engine Mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.vmf
Could not locate 'GameData' key in c:\program files (x86)\steam\steamapps\common\half-life 2\ep2\gameinfo.txt
fixing up env_cubemap materials on brush sides...
0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10Processing areas...done (0)
Building Faces...done (0)
Chop Details...done (0)
Find Visible Detail Sides...
Merged 156 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing C:\Users\Jonathan\Documents\Game Mods\Source Engine Mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.prt...Building visibility clusters...
done (0)
Creating default LDR cubemaps for env_cubemap using skybox materials:
   skybox/sky_day01_01*.vmt
 ! Run buildcubemaps in the engine to get the correct cube maps.
Creating default HDR cubemaps for env_cubemap using skybox materials:
   skybox/sky_day01_01*.vmt
 ! Run buildcubemaps in the engine to get the correct cube maps.
Finding displacement neighbors...
Found a displacement edge abutting multiple other edges.
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...
done (1) (100713 bytes)
Placing detail props : 0...1...2...3...4...5...6
Material NATURE/DIRTFLOOR001A uses unknown detail object type citygrass01!
Material NATURE/DIRTFLOOR001A uses unknown detail object type citygrass01!
Material NATURE/DIRTFLOOR001A uses unknown detail object type citygrass01!
Material NATURE/DIRTFLOOR001A uses unknown detail object type citygrass01!

.10
Compacting texture/material tables...
Reduced 2129 texinfos to 343
Reduced 40 texdatas to 31 (1356 bytes to 1121)
Writing C:\Users\Jonathan\Documents\Game Mods\Source Engine Mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.bsp
3 seconds elapsed



4 threads
reading c:\users\jonathan\documents\game mods\source engine mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.bsp
reading c:\users\jonathan\documents\game mods\source engine mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.prt
 232 portalclusters
 688 numportals
0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10Optimized: 82 visible clusters (0.28%)
Total clusters visible: 29390
Average clusters visible: 126
Building PAS...
Average clusters audible: 215
visdatasize:13859  compressed from 14848
writing c:\users\jonathan\documents\game mods\source engine mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.bsp
1 second elapsed


You still have the displacement issue though.

Try putting displacements into their own visgroup, disable that visgroup, compile and see if it fixed it. If it fixes it, remake the problem displacements.

OH WELL MAYBE THE MAP JUST ISN’T MEANT TO BE
compiled with all displacements gone and still it crashes

log:




materialPath: C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\ep2\materials
Loading C:\Users\Jonathan\Documents\Game Mods\Source Engine Mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.vmf
Could not locate 'GameData' key in c:\program files (x86)\steam\steamapps\common\half-life 2\ep2\gameinfo.txt
fixing up env_cubemap materials on brush sides...
0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10Processing areas...done (0)
Building Faces...done (0)
Chop Details...done (0)
Find Visible Detail Sides...
Merged 156 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing C:\Users\Jonathan\Documents\Game Mods\Source Engine Mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.prt...Building visibility clusters...
done (0)
Creating default LDR cubemaps for env_cubemap using skybox materials:
   skybox/sky_day01_01*.vmt
 ! Run buildcubemaps in the engine to get the correct cube maps.
Creating default HDR cubemaps for env_cubemap using skybox materials:
   skybox/sky_day01_01*.vmt
 ! Run buildcubemaps in the engine to get the correct cube maps.
Finding displacement neighbors...
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...
done (0) (98713 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 394 texinfos to 215
Reduced 32 texdatas to 25 (1012 bytes to 846)
Writing C:\Users\Jonathan\Documents\Game Mods\Source Engine Mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.bsp
1 second elapsed



4 threads
reading c:\users\jonathan\documents\game mods\source engine mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.bsp
reading c:\users\jonathan\documents\game mods\source engine mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.prt
 230 portalclusters
 683 numportals
0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10Optimized: 11 visible clusters (0.04%)
Total clusters visible: 28499
Average clusters visible: 123
Building PAS...
Average clusters audible: 204
visdatasize:13784  compressed from 14720
writing c:\users\jonathan\documents\game mods\source engine mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.bsp
1 second elapsed



[Reading texlights from 'lights.rad']
[48 texlights parsed from 'lights.rad']

Loading c:\users\jonathan\documents\game mods\source engine mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.bsp
2060 faces
1 degenerate faces
947067 square feet [136377728.00 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
2059 patches before subdivision
77321 patches after subdivision
21 direct lights
0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10transfers 35201408, max 1327
transfer lists: 268.6 megs
0...1...2...3...4...5...6...7...8...9...10    Bounce #1 added RGB(9368, 5409, 1747)
0...1...2...3...4...5...6...7...8...9...10    Bounce #2 added RGB(1320, 706, 188)
0...1...2...3...4...5...6...7...8...9...10    Bounce #3 added RGB(339, 195, 49)
0...1...2...3...4...5...6...7...8...9...10    Bounce #4 added RGB(124, 75, 19)
0...1...2...3...4...5...6...7...8...9...10    Bounce #5 added RGB(50, 31, 8)
0...1...2...3...4...5...6...7...8...9...10    Bounce #6 added RGB(21, 13, 3)
0...1...2...3...4...5...6...7...8...9...10    Bounce #7 added RGB(9, 6, 1)
0...1...2...3...4...5...6...7...8...9...10    Bounce #8 added RGB(4, 2, 1)
0...1...2...3...4...5...6...7...8...9...10    Bounce #9 added RGB(2, 1, 0)
0...1...2...3...4...5...6...7...8...9...10    Bounce #10 added RGB(1, 0, 0)
Build Patch/Sample Hash Table(s).....Done<0.0629 sec>
0...1...2...3...4...5...6...7...8...9...10FinalLightFace Done
0 of 0 (0% of) surface lights went in leaf ambient cubes.
0...1...2...3...4...5...6...7...8...9...10Writing leaf ambient...done
Ready to Finish

Object names       Objects/Maxobjs  Memory / Maxmem  Fullness 
------------       ---------------  ---------------  -------- 
models                   4/1024          192/49152    ( 0.4%) 
brushes                257/8192         3084/98304    ( 3.1%) 
brushsides            2369/65536       18952/524288   ( 3.6%) 
planes                2598/65536       51960/1310720  ( 4.0%) 
vertexes              3070/65536       36840/786432   ( 4.7%) 
nodes                  543/65536       17376/2097152  ( 0.8%) 
texinfos               215/12288       15480/884736   ( 1.7%) 
texdata                 25/2048          800/65536    ( 1.2%) 
dispinfos                0/0               0/0        ( 0.0%) 
disp_verts               0/0               0/0        ( 0.0%) 
disp_tris                0/0               0/0        ( 0.0%) 
disp_lmsamples           0/0               0/0        ( 0.0%) 
faces                 2060/65536      115360/3670016  ( 3.1%) 
hdr faces                0/65536           0/3670016  ( 0.0%) 
origfaces              827/65536       46312/3670016  ( 1.3%) 
leaves                 548/65536       17536/2097152  ( 0.8%) 
leaffaces             2437/65536        4874/131072   ( 3.7%) 
leafbrushes            563/65536        1126/131072   ( 0.9%) 
areas                    2/256            16/2048     ( 0.8%) 
surfedges            12914/512000      51656/2048000  ( 2.5%) 
edges                 7604/256000      30416/1024000  ( 3.0%) 
LDR worldlights         21/8192         1848/720896   ( 0.3%) 
HDR worldlights          0/8192            0/720896   ( 0.0%) 
leafwaterdata            0/32768           0/393216   ( 0.0%) 
waterstrips            114/32768        1140/327680   ( 0.3%) 
waterverts               0/65536           0/786432   ( 0.0%) 
waterindices          2871/65536        5742/131072   ( 4.4%) 
cubemapsamples           4/1024           64/16384    ( 0.4%) 
overlays                 1/512           352/180224   ( 0.2%) 
LDR lightdata         [variable]     2676116/0        ( 0.0%) 
HDR lightdata         [variable]           0/0        ( 0.0%) 
visdata               [variable]       13784/16777216 ( 0.1%) 
entdata               [variable]       30718/393216   ( 7.8%) 
LDR ambient table      548/65536        2192/262144   ( 0.8%) 
HDR ambient table      548/65536        2192/262144   ( 0.8%) 
LDR leaf ambient       926/65536       25928/1835008  ( 1.4%) 
HDR leaf ambient       548/65536       15344/1835008  ( 0.8%) 
occluders                0/0               0/0        ( 0.0%) 
occluder polygons        0/0               0/0        ( 0.0%) 
occluder vert ind        0/0               0/0        ( 0.0%) 
detail props          [variable]           1/12       ( 8.3%) 
static props          [variable]           1/1256     ( 0.1%) 
pakfile               [variable]      532360/0        ( 0.0%) 
physics               [variable]       98713/4194304  ( 2.4%) 
physics terrain       [variable]           2/1048576  ( 0.0%) 

Level flags = 0

Total triangle count: 5438
Writing c:\users\jonathan\documents\game mods\source engine mods\gmod addon things\source files for things\ross scott\civil protection	he tunnel\addon_new\rp_thetunnel.bsp
18 seconds elapsed


Check if any of your entities is making a infinite loop or something.

Also, this can be nothing, but try to put the vmf in a short foler, like “C:/maps/yourmap.vmf” and compile it.

If nothing works, copy/paste your map into a new vmf.