(Solved) Partial Missing Texture on World Brush

Metric

L1: Registered
Jan 6, 2017
6
0
I have no idea what to call it, but it's certainly not the purple missing texture problem.

Here's how it looks in-game:
20170106000710_1.jpg


Here's the brush in Hammer with portals shown:
image.png


The spoiler below contains the full compile log.
** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vbsp.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "C:\Users\john\Documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2.vmf"

Valve Software - vbsp.exe (Dec 15 2016)
2 threads
materialPath: C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\materials
Loading C:\Users\john\Documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2.vmf
ConVarRef mat_reduceparticles doesn't point to an existing ConVar
Patching WVT material: maps/trade_houseofpancakes_a2/dev/dev_blendmeasure_wvt_patch
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 (0)

FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (3103.8 -3770.7 -2487.0)
Leaf 0 contents: CONTENTS_SOLID
Leaf 1 contents:
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs: Brush 400347:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (3103.8 -3770.7 -2591.0)
Leaf 0 contents: CONTENTS_SOLID
Leaf 1 contents:
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs: Brush 400361:

Processing areas...done (0)
Building Faces...done (0)
Chop Details...done (0)
Find Visible Detail Sides...
Merged 492 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing C:\Users\john\Documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2.prt...Building visibility clusters...
done (0)
*** Error: Skybox vtf files for skybox/sky_trainyard_01 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_trainyard_01 to build the default cubemap!
*** Error: Skybox vtf files for skybox/sky_trainyard_01 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_trainyard_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 (0) (720219 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 2925 texinfos to 1723
Reduced 114 texdatas to 100 (4891 bytes to 4361)
Writing C:\Users\john\Documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2.bsp
Wrote ZIP buffer, estimated size 26364, actual size 19718
8 seconds elapsed

** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vvis.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "C:\Users\john\Documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2"

Valve Software - vvis.exe (Dec 15 2016)
2 threads
reading c:\users\john\documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2.bsp
reading c:\users\john\documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2.prt
216 portalclusters
456 numportals
BasePortalVis: 0...1...2...3...4...5...6...7...8...9...10 (0)
PortalFlow: 0...1...2...3...4...5...6...7...8...9...10 (0)
Optimized: 48 visible clusters (0.33%)
Total clusters visible: 14716
Average clusters visible: 68
Building PAS...
Average clusters audible: 149
visdatasize:12749 compressed from 13824
writing c:\users\john\documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2.bsp
0 seconds elapsed

** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vrad.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "C:\Users\john\Documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2"

Valve Software - vrad.exe SSE (Dec 15 2016)

Valve Radiosity Simulator
2 threads
[Reading texlights from 'lights.rad']
unknown light specifier type - lights

[56 texlights parsed from 'lights.rad']

Loading c:\users\john\documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2.bsp
Setting up ray-trace acceleration structure... Done (1.86 seconds)
5561 faces
1 degenerate faces
296296 square feet [42666748.00 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
5560 patches before subdivision
zero area child patch
34478 patches after subdivision
228 direct lights
BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (19)
BuildVisLeafs: 0...1...2...3...4...5...6...7...8...9...10 (10)
transfers 8646356, max 1054
transfer lists: 66.0 megs
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #1 added RGB(276687, 171769, 128893)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #2 added RGB(53414, 27052, 18844)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #3 added RGB(12456, 5884, 4085)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #4 added RGB(3364, 1650, 1192)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #5 added RGB(1037, 550, 415)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (1)
Bounce #6 added RGB(353, 202, 157)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #7 added RGB(129, 78, 62)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #8 added RGB(50, 31, 25)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #9 added RGB(20, 12, 10)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #10 added RGB(8, 5, 4)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #11 added RGB(3, 2, 2)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #12 added RGB(1, 1, 1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (1)
Bounce #13 added RGB(1, 0, 0)
Build Patch/Sample Hash Table(s).....Done<0.0165 sec>
FinalLightFace: 0...1...2...3...4...5...6...7...8...9...10 (9)
FinalLightFace Done
0 of 0 (0% of) surface lights went in leaf ambient cubes.
ThreadComputeLeafAmbient: 0...1...2...3...4...5...6...7...8...9...10 (5)
Writing leaf ambient...done
Ready to Finish

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 43/1024 2064/49152 ( 4.2%)
brushes 1994/8192 23928/98304 (24.3%)
brushsides 17542/65536 140336/524288 (26.8%)
planes 7900/65536 158000/1310720 (12.1%)
vertexes 8560/65536 102720/786432 (13.1%)
nodes 1170/65536 37440/2097152 ( 1.8%)
texinfos 1723/12288 124056/884736 (14.0%)
texdata 100/2048 3200/65536 ( 4.9%)
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 5561/65536 311416/3670016 ( 8.5%)
hdr faces 0/65536 0/3670016 ( 0.0%)
origfaces 4485/65536 251160/3670016 ( 6.8%)
leaves 1214/65536 38848/2097152 ( 1.9%)
leaffaces 6048/65536 12096/131072 ( 9.2%)
leafbrushes 3368/65536 6736/131072 ( 5.1%)
areas 2/256 16/2048 ( 0.8%)
surfedges 45947/512000 183788/2048000 ( 9.0%)
edges 28705/256000 114820/1024000 (11.2%)
LDR worldlights 228/8192 20064/720896 ( 2.8%)
HDR worldlights 0/8192 0/720896 ( 0.0%)
leafwaterdata 0/32768 0/393216 ( 0.0%)
waterstrips 737/32768 7370/327680 ( 2.2%)
waterverts 0/65536 0/786432 ( 0.0%)
waterindices 14934/65536 29868/131072 (22.8%)
cubemapsamples 18/1024 288/16384 ( 1.8%)
overlays 8/512 2816/180224 ( 1.6%)
LDR lightdata [variable] 2172160/0 ( 0.0%)
HDR lightdata [variable] 0/0 ( 0.0%)
visdata [variable] 12749/16777216 ( 0.1%)
entdata [variable] 122914/393216 (31.3%)
LDR ambient table 1214/65536 4856/262144 ( 1.9%)
HDR ambient table 1214/65536 4856/262144 ( 1.9%)
LDR leaf ambient 4486/65536 125608/1835008 ( 6.8%)
HDR leaf ambient 1214/65536 33992/1835008 ( 1.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/16330 ( 0.0%)
pakfile [variable] 19718/0 ( 0.0%)
physics [variable] 720219/4194304 (17.2%)
physics terrain [variable] 2/1048576 ( 0.0%)

Level flags = 0

Total triangle count: 16826
Writing c:\users\john\documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2.bsp
47 seconds elapsed

** Executing...
** Command: Copy File
** Parameters: "C:\Users\john\Documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2.bsp" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\maps\trade_houseofpancakes_a2.bsp"

This has been occurring for a while now (after multiple compiles and playtesting).
How do I fix this? Any help would be appreciated.
 

Vel0city

func_fish
aa
Dec 6, 2014
1,947
1,589
This means you either have a leak, or the brush which is causing this is invalid in some way. Did you try to delete the brush and remake it from scratch?
 

Idolon

they/them
aa
Feb 7, 2008
2,123
6,137
FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (3103.8 -3770.7 -2487.0)
Leaf 0 contents: CONTENTS_SOLID
Leaf 1 contents:
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs: Brush 400347:
While this error typically accompanies a leak, it doesn't have to, and in this case it does not. All it really means is that something is somehow too complex for VBSP to figure out, so it has given up. Try using func_details and hint brushes to simplify your visleafs.
 

Metric

L1: Registered
Jan 6, 2017
6
0
Ok, cool. I'll give it another try...

Edit: LOL. I forgot that the brush had multiple edges to make a cylinder, so I made the whole brush a func_detail and patched it up. The hole on the ground and the error in the compile log are gone now.

20170106171323_1.jpg


The compile log.
** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vbsp.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "C:\Users\john\Documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2.vmf"

Valve Software - vbsp.exe (Dec 15 2016)
2 threads
materialPath: C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\materials
Loading C:\Users\john\Documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2.vmf
ConVarRef mat_reduceparticles doesn't point to an existing ConVar
Patching WVT material: maps/trade_houseofpancakes_a2/dev/dev_blendmeasure_wvt_patch
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
Processing areas...done (0)
Building Faces...done (0)
Chop Details...done (0)
Find Visible Detail Sides...
Merged 540 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (1)
writing C:\Users\john\Documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2.prt...Building visibility clusters...
done (0)
*** Error: Skybox vtf files for skybox/sky_trainyard_01 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_trainyard_01 to build the default cubemap!
*** Error: Skybox vtf files for skybox/sky_trainyard_01 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_trainyard_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) (792386 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 3409 texinfos to 1924
Reduced 131 texdatas to 108 (5838 bytes to 4824)
Writing C:\Users\john\Documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2.bsp
Wrote ZIP buffer, estimated size 32652, actual size 24398
8 seconds elapsed

** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vvis.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "C:\Users\john\Documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2"

Valve Software - vvis.exe (Dec 15 2016)
2 threads
reading c:\users\john\documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2.bsp
reading c:\users\john\documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2.prt
202 portalclusters
450 numportals
BasePortalVis: 0...1...2...3...4...5...6...7...8...9...10 (0)
PortalFlow: 0...1...2...3...4...5...6...7...8...9...10 (0)
Optimized: 57 visible clusters (0.34%)
Total clusters visible: 16801
Average clusters visible: 83
Building PAS...
Average clusters audible: 163
visdatasize:11527 compressed from 12928
writing c:\users\john\documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2.bsp
0 seconds elapsed

** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vrad.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "C:\Users\john\Documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2"

Valve Software - vrad.exe SSE (Dec 15 2016)

Valve Radiosity Simulator
2 threads
[Reading texlights from 'lights.rad']
unknown light specifier type - lights

[56 texlights parsed from 'lights.rad']

Loading c:\users\john\documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2.bsp
Setting up ray-trace acceleration structure... Done (1.88 seconds)
5991 faces
3 degenerate faces
311734 square feet [44889824.00 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
5988 patches before subdivision
35766 patches after subdivision
228 direct lights
BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (19)
BuildVisLeafs: 0...1...2...3...4...5...6...7...8...9...10 (9)
transfers 8640276, max 1076
transfer lists: 65.9 megs
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #1 added RGB(274191, 171927, 129427)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #2 added RGB(53380, 27611, 19266)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #3 added RGB(12627, 6105, 4211)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #4 added RGB(3447, 1709, 1217)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #5 added RGB(1067, 564, 418)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (1)
Bounce #6 added RGB(363, 204, 156)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #7 added RGB(132, 77, 61)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #8 added RGB(50, 30, 24)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #9 added RGB(20, 12, 10)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #10 added RGB(8, 5, 4)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #11 added RGB(3, 2, 2)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #12 added RGB(1, 1, 1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (1)
Bounce #13 added RGB(1, 0, 0)
Build Patch/Sample Hash Table(s).....Done<0.0162 sec>
FinalLightFace: 0...1...2...3...4...5...6...7...8...9...10 (9)
FinalLightFace Done
0 of 0 (0% of) surface lights went in leaf ambient cubes.
ThreadComputeLeafAmbient: 0...1...2...3...4...5...6...7...8...9...10 (6)
Writing leaf ambient...done
Ready to Finish

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 72/1024 3456/49152 ( 7.0%)
brushes 2166/8192 25992/98304 (26.4%)
brushsides 18621/65536 148968/524288 (28.4%)
planes 8142/65536 162840/1310720 (12.4%)
vertexes 9393/65536 112716/786432 (14.3%)
nodes 1452/65536 46464/2097152 ( 2.2%)
texinfos 1924/12288 138528/884736 (15.7%)
texdata 108/2048 3456/65536 ( 5.3%)
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 5991/65536 335496/3670016 ( 9.1%)
hdr faces 0/65536 0/3670016 ( 0.0%)
origfaces 5028/65536 281568/3670016 ( 7.7%)
leaves 1525/65536 48800/2097152 ( 2.3%)
leaffaces 6674/65536 13348/131072 (10.2%)
leafbrushes 3471/65536 6942/131072 ( 5.3%)
areas 2/256 16/2048 ( 0.8%)
surfedges 50437/512000 201748/2048000 ( 9.9%)
edges 31858/256000 127432/1024000 (12.4%)
LDR worldlights 228/8192 20064/720896 ( 2.8%)
HDR worldlights 0/8192 0/720896 ( 0.0%)
leafwaterdata 0/32768 0/393216 ( 0.0%)
waterstrips 779/32768 7790/327680 ( 2.4%)
waterverts 0/65536 0/786432 ( 0.0%)
waterindices 15924/65536 31848/131072 (24.3%)
cubemapsamples 18/1024 288/16384 ( 1.8%)
overlays 7/512 2464/180224 ( 1.4%)
LDR lightdata [variable] 2215688/0 ( 0.0%)
HDR lightdata [variable] 0/0 ( 0.0%)
visdata [variable] 11527/16777216 ( 0.1%)
entdata [variable] 142296/393216 (36.2%)
LDR ambient table 1525/65536 6100/262144 ( 2.3%)
HDR ambient table 1525/65536 6100/262144 ( 2.3%)
LDR leaf ambient 4891/65536 136948/1835008 ( 7.5%)
HDR leaf ambient 1525/65536 42700/1835008 ( 2.3%)
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/16308 ( 0.0%)
pakfile [variable] 24398/0 ( 0.0%)
physics [variable] 792386/4194304 (18.9%)
physics terrain [variable] 2/1048576 ( 0.0%)

Level flags = 0

Total triangle count: 18246
Writing c:\users\john\documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2.bsp
47 seconds elapsed

** Executing...
** Command: Copy File
** Parameters: "C:\Users\john\Documents\trade_houseofpancakes_a2\trade_houseofpancakes_a2.bsp" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\maps\trade_houseofpancakes_a2.bsp"


** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\hl2.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" -novid +map "trade_houseofpancakes_a2" -steam

Thank you all for your time.
 
Last edited: