Map keeps crashing.

It’s in the SDK restrictions, but I crash whenever i start up the map.




** Executing...
** Command: "c:\program files\steam\steamapps	aconinja1995\sourcesdk\bin\ep1\bin\vbsp.exe"
** Parameters: -game "c:\program files\steam\steamapps	aconinja1995\half-life 2\hl2" "C:\Program Files\Steam\steamapps	aconinja1995\garrysmod\garrysmod\maps\gm_testchambers2"

Valve Software - vbsp.exe (Dec 11 2006)
4 threads
materialPath: c:\program files\steam\steamapps	aconinja1995\half-life 2\hl2\materials
Loading C:\Program Files\Steam\steamapps	aconinja1995\garrysmod\garrysmod\maps\gm_testchambers2.vmf
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)
Processing areas...done (0)
Building Faces...done (0)
Chop Details...done (0)
Find Visible Detail Sides...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing C:\Program Files\Steam\steamapps	aconinja1995\garrysmod\garrysmod\maps\gm_testchambers2.prt...done (0)
Creating default cubemaps for env_cubemap using skybox materials:
skybox/sky_day01_01*.vmt
Run buildcubemaps in the engine to get the correct cube maps.

No such variable "$hdrbasetexture" for material "skybox/sky_day01_01rt"
Can't load skybox file skybox/sky_day01_01 to build the default cubemap!
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 (1) (63851 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 222 texinfos to 159
Reduced 12 texdatas to 12 (238 bytes to 238)
Writing C:\Program Files\Steam\steamapps	aconinja1995\garrysmod\garrysmod\maps\gm_testchambers2.bsp
3 seconds elapsed

** Executing...
** Command: "c:\program files\steam\steamapps	aconinja1995\sourcesdk\bin\ep1\bin\vvis.exe"
** Parameters: -game "c:\program files\steam\steamapps	aconinja1995\half-life 2\hl2" -fast "C:\Program Files\Steam\steamapps	aconinja1995\garrysmod\garrysmod\maps\gm_testchambers2"

Valve Software - vvis.exe (Nov  8 2007)
fastvis = true
4 threads
reading c:\program files\steam\steamapps	aconinja1995\garrysmod\garrysmod\maps\gm_testchambers2.bsp
reading c:\program files\steam\steamapps	aconinja1995\garrysmod\garrysmod\maps\gm_testchambers2.prt
 756 portalclusters
3468 numportals
BasePortalVis:       0...1...2...3...4...5...6...7...8...9...10 (2)
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
Optimized: 17940 visible clusters (0.00%)
Total clusters visible: 510455
Average clusters visible: 675
Building PAS...
Average clusters audible: 756
visdatasize:148064  compressed from 145152
writing c:\program files\steam\steamapps	aconinja1995\garrysmod\garrysmod\maps\gm_testchambers2.bsp
2 seconds elapsed

** Executing...
** Command: "c:\program files\steam\steamapps	aconinja1995\sourcesdk\bin\ep1\bin\vrad.exe"
** Parameters:  -game "c:\program files\steam\steamapps	aconinja1995\half-life 2\hl2" "C:\Program Files\Steam\steamapps	aconinja1995\garrysmod\garrysmod\maps\gm_testchambers2"

Valve Software - vrad.exe SSE (Nov  8 2007)
----- Radiosity Simulator ----
4 threads
[Reading texlights from 'lights.rad']
[45 texlights parsed from 'lights.rad']

Loading c:\program files\steam\steamapps	aconinja1995\garrysmod\garrysmod\maps\gm_testchambers2.bsp
1365 faces
1 degenerate faces
2313156 square feet [333094464.00 square inches]
0 displacements
0 square feet [0.00 square inches]
1364 patches before subdivision
14874 patches after subdivision
152 direct lights
BuildFacelights:     0...1...2...3...4...5...6...7...8...9...10 (21)
BuildVisLeafs:       0...1...2...3...4...5...6...7...8...9...10 (2)
transfers 864977, max 361
transfer lists:   6.6 megs
GatherLight:         0...1...2...3...4...5...6...7...8...9...10 (0)
	Bounce #1 added RGB(29116, 15895, 8193)
GatherLight:         0...1...2...3...4...5...6...7...8...9...10 (1)
	Bounce #2 added RGB(1391, 447, 165)
GatherLight:         0...1...2...3...4...5...6...7...8...9...10 (0)
	Bounce #3 added RGB(95, 18, 5)
GatherLight:         0...1...2...3...4...5...6...7...8...9...10 (1)
	Bounce #4 added RGB(7, 1, 0)
GatherLight:         0...1...2...3...4...5...6...7...8...9...10 (0)
	Bounce #5 added RGB(1, 0, 0)
Build Patch/Sample Hash Table(s).....Done<0.0195 sec>
FinalLightFace:      0...1...2...3...4...5...6...7...8...9...10 (1)
FinalLightFace Done
5 of 150 (3% of) surface lights went in leaf ambient cubes.
ComputePerLeafAmbientLighting: 0...1...2...3...4...5...6...7...8...9...10
Ready to Finish

Object names       Objects/Maxobjs  Memory / Maxmem  Fullness 
------------       ---------------  ---------------  -------- 
models                  33/1024         1584/49152    ( 3.2%) 
brushes                 64/8192          768/98304    ( 0.8%) 
brushsides            1493/65536       11944/524288   ( 2.3%) 
planes                4002/65536       80040/1310720  ( 6.1%) 
vertexes              4169/65536       50028/786432   ( 6.4%) 
nodes                 1303/65536       41696/2097152  ( 2.0%) 
texinfos               159/12288       11448/884736   ( 1.3%) 
texdata                 12/2048          384/65536    ( 0.6%) 
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                 1365/65536       76440/3670016  ( 2.1%) 
hdr faces                0/65536           0/3670016  ( 0.0%) 
origfaces              735/65536       41160/3670016  ( 1.1%) 
leaves                1337/65536       42784/2097152  ( 2.0%) 
leaffaces             1819/65536        3638/131072   ( 2.8%) 
leafbrushes            527/65536        1054/131072   ( 0.8%) 
areas                    2/256            16/2048     ( 0.8%) 
surfedges             9891/512000      39564/2048000  ( 1.9%) 
edges                 5069/256000      20276/1024000  ( 2.0%) 
LDR worldlights        152/8192        13376/720896   ( 1.9%) 
HDR worldlights          0/8192            0/720896   ( 0.0%) 
waterstrips             16/32768         160/327680   ( 0.0%) 
waterverts               0/65536           0/786432   ( 0.0%) 
waterindices           174/65536         348/131072   ( 0.3%) 
cubemapsamples           0/1024            0/16384    ( 0.0%) 
overlays                 0/512             0/180224   ( 0.0%) 
LDR lightdata         [variable]      400836/0        ( 0.0%) 
HDR lightdata         [variable]           0/0        ( 0.0%) 
visdata               [variable]      148064/16777216 ( 0.9%) 
entdata               [variable]       39677/393216   (10.1%) 
LDR leaf ambient      1337/65536       32088/1572864  ( 2.0%) 
HDR leaf ambient         0/65536           0/1572864  ( 0.0%) 
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/12       ( 8.3%) 
pakfile               [variable]       10026/0        ( 0.0%) 

Level flags = 0

Win32 Specific Data:
physics               [variable]       63851/4194304  ( 1.5%) 
==== Total Win32 BSP file data space used: 1131252 bytes ====

Total triangle count: 3605
Writing c:\program files\steam\steamapps	aconinja1995\garrysmod\garrysmod\maps\gm_testchambers2.bsp
26 seconds elapsed

** Executing...
** Command: Copy File
** Parameters: "C:\Program Files\Steam\steamapps	aconinja1995\garrysmod\garrysmod\maps\gm_testchambers2.bsp" "c:\program files\steam\steamapps	aconinja1995\half-life 2\hl2\maps\gm_testchambers2.bsp"


** Executing...
** Command: "c:\program files\steam\steamapps	aconinja1995\half-life 2\hl2.exe"
** Parameters: -game "c:\program files\steam\steamapps	aconinja1995\half-life 2\hl2"  +map "gm_testchambers2"



You have to many Leafs, Optimize your map: http://optimization.interlopers.net/ It would help A LOT :slight_smile:
Try to make your Brushes like Stairs/Ramps wich are IN the map,not outside in the void (otherwise leak) to func_detail.
Use toolsnodraw for faces wich are not seen by player in game, that should help at first to faster compile, and second for lag-free playing…