Invisible Leak

Nicknam4

L1: Registered
Dec 8, 2011
28
12
Hey guys. Recently found Leak errors in my compile window, so I loaded a pointfile to locate the leak. Turns out there was a brush origin out there from when I moved the entire map in order to put the map's origin inside the skybox. I moved it back into the correct place, although the same leak error is still there. I've selected everything in the map and I cannot find anything close to the point file. Any idea how to fix this? I have recompiled and restarted hammer.

[EDIT]I managed to fix this by moving the entire map to put that pointfile inside the skybox, but I'm still curious to what causes this.


hxIvY.png
 
Last edited:

DJive

Cake or Death?
aa
Dec 20, 2007
1,465
741
Most likely an "Origin" to one of your props.
 
Last edited:

Jeremy

L11: Posh Member
Oct 24, 2010
829
299
Pointfiles are only created when you compile a map. When you seal a leak, compile the map with VVIS and VRAD set to "Off" (this makes compiling take about two to eight seconds, depending on map size, and really, you don't need to do a proper compile to check for leaks). Then load the pointfile again.
 

Pocket

Half a Lambert is better than one.
aa
Nov 14, 2009
4,694
2,579
Most likely an "Origin" to one of your props.

Or more likely (since prop origins are all within the prop's bounding box somewhere unless I'm missing something) the origin of a brush entity, which have a tendency to stay in place when the entity is dragged around. It's a common enough bug that they added a tool to fix it, under Tools > Center Origins. I recommend hitting Edit > Select All and then that, and seeing if it works.
 

Nicknam4

L1: Registered
Dec 8, 2011
28
12
Pointfiles are only created when you compile a map. When you seal a leak, compile the map with VVIS and VRAD set to "Off" (this makes compiling take about two to eight seconds, depending on map size, and really, you don't need to do a proper compile to check for leaks). Then load the pointfile again.

I did do this, but the pointfiles still showed leaks. I will try the center origins next time this happens though, thanks stevethepocket.