Compile Errors: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Added "Bad detail brush side"; did my best :P)
 
(71 intermediate revisions by 44 users not shown)
Line 1: Line 1:
[http://hentai.embers.cn/college-orgy.html college orgy] [http://blondes.embers.cn/shaved-pussys.html shaved pussys] [http://www.svetik87694.00go.com map] [http://naked.embers.cn/every-move-i-make.html every move i make] [http://hardcore.embers.cn/hot-shemales.html hot shemales] [http://porn.embers.cn/fruit-cake-lady.html fruit cake lady] [http://sex.embers.cn/jordan-nude.html jordan nude] [http://home.sailormoon.com/gingerwood/ map] [http://porno.embers.cn/arkansas-escorts.html arkansas escorts] [http://incest.embers.cn/brawls.html brawls] [http://www.mcrosenk.1hwy.com web] [http://movies.embers.cn/femme-infidele-porno.html femme infidele porno] [http://hentai.embers.cn/extreme-blowjob.html extreme blowjob] [http://nude.embers.cn/faux-painting.html faux painting] [http://anal.embers.cn/misty-porn.html misty porn] [http://hentai.embers.cn/kansas-speedway.html kansas speedway] [http://mihail-bukatin.galeon.com http] [http://hentai.embers.cn/hardcore-lolitas.html hardcore lolitas] [http://movies.embers.cn/baby-websites.html baby websites] [http://girls.embers.cn/kristin-laguna.html kristin laguna beach] [http://porno.embers.cn/naked-model.html naked model] [http://porn.embers.cn/ftv.html ftv] [http://home.graffiti.net/pruedance2003/ www] [http://personales.ciudad.com.ar/gipsylilya/ map] [http://incest.embers.cn/gay-scat.html gay scat] [http://movies.embers.cn/hot-blonde-porn.html hot blonde porn] [http://chanveza.sitemynet.com web] [http://nude.embers.cn/gay-web-sites.html gay web sites] [http://movies.embers.cn/preteen-nude.html preteen nude model] [http://zxinkle.3xforum.ro map] [http://playboy.embers.cn/nude-centerfolds.html nude centerfolds] [http://incest.embers.cn/current-hairstyles.html current hairstyles] [http://fuck.embers.cn/ob-gyn-expert.html ob gyn expert] [http://teens.embers.cn/anal-sex-video.html anal sex video] [http://xxx.embers.cn/neve-campbell.html neve campbell nude] [http://naked.embers.cn/candy-bouquet.html candy bouquet] [http://fuck.embers.cn/smith-mountain.html smith mountain lake virginia] [http://xxx.embers.cn/meanbitches.html meanbitches] [http://www.izdevatelsa.actorsite.com web] [http://girls.embers.cn/john-cena-nude.html john cena nude] [http://lesbian.embers.cn/flash-cartoon.html flash cartoon] [http://lesbian.embers.cn/dont-stop-till.html dont stop till you get enough] [http://hentai.embers.cn/young-sex.html young sex] [http://nude.embers.cn/porn-for-kids.html porn for kids] [http://nude.embers.cn/adult-vids.html adult vids] [http://playboy.embers.cn/gustav-klimt.html gustav klimt] [http://lesbian.embers.cn/free-blow-job.html free blow job movies] [http://blondes.embers.cn/piss-drinker.html piss drinker] [http://playboy.embers.cn/ezine-advertising.html ezine advertising] [http://xxx.embers.cn/atlantic-city.html atlantic city boardwalk] [http://hardcore.embers.cn/permanent-lip-liner.html permanent lip liner] [http://incest.embers.cn/carpet-odor-removal.html carpet odor removal] [http://fuck.embers.cn/asia-sex.html asia sex] [http://women.embers.cn/jenna-jameson-cumshot.html jenna jameson cumshot] [http://blondes.embers.cn/lesbian-tit-sucking.html lesbian tit sucking] [http://girls.embers.cn/desktop-strippers.html desktop strippers] [http://www.gwebspace.de/switchcarjimmy/ web] [http://www.obybety.00go.com site] [http://www.listelena171986.00cd.com http] [http://girls.embers.cn/exotic-dancers-detroit.html exotic dancers detroit] [http://www.rerlfcoco.i8.com map] [http://women.embers.cn/satellite-dish.html satellite dish provider] [http://incest.embers.cn/jackinworld.html jackinworld] [http://xxx.embers.cn/tight-leather.html tight leather pants] [http://hentai.embers.cn/who-wants-to-be.html who wants to be a millionaire] [http://hardcore.embers.cn/pictureview-password.html pictureview password] [http://www.grryain.teach-nology.com web] [http://teen.embers.cn/ion-paintball.html ion paintball] [http://lesbian.embers.cn/george-clooney.html george clooney nude] [http://lesbian.embers.cn/preteen-fashion.html preteen fashion models] [http://movies.embers.cn/free-porn-previews.html free porn previews] [http://porn.embers.cn/fucking-midgets.html fucking midgets] [http://sex.embers.cn/julianna-young.html julianna young] [http://girls.embers.cn/hot-naked-girls.html hot naked girls] [http://girls.embers.cn/sexy-brunette.html sexy brunette] [http://fuck.embers.cn/natassia-malthe.html natassia malthe] [http://blondes.embers.cn/masterbation.html masterbation clips] [http://hentai.embers.cn/gena-lee-nolin.html gena lee nolin sex tape] [http://digilander.libero.it/kuenov/ site] [http://xxx.embers.cn/mortgage-rates.html mortgage rates adjustable] [http://hentai.embers.cn/aem-cold-air.html aem cold air intake] [http://sex.embers.cn/gay-teen-boy.html gay teen boy] [http://incest.embers.cn/sex-toys-for-women.html sex toys for women] [http://sex.embers.cn/hotline.html hotline] [http://playboy.embers.cn/nude-grannies.html nude grannies] [http://incest.embers.cn/commercial-espresso.html commercial espresso machines] [http://www.freespaces.com/svetlana/ www] [http://incest.embers.cn/girls-undressed.html girls undressed] [http://sex.embers.cn/ebony-mature.html ebony mature] [http://anal.embers.cn/nude-male-teens.html nude male teens] [http://nude.embers.cn/colorado-realty.html colorado realty] [http://www.miwadham.00page.com map] [http://www.gealma.00server.com http] [http://women.embers.cn/nine-inch-nails.html nine inch nails the perfect drug] [http://anal.embers.cn/scottsdale-arizona.html scottsdale arizona realtors] [http://teens.embers.cn/real-estate-for.html real estate for sale scottsdale] [http://www.katenchyk.freehosting.net web] [http://nude.embers.cn/naked-bears.html naked bears] [http://porno.embers.cn/peach-hentai.html peach hentai] [http://porno.embers.cn/shark-fishing.html shark fishing] [http://naked.embers.cn/semenax.html semenax] [http://girl.embers.cn/gay-web-sites.html gay web sites] [http://teens.embers.cn/holly-heartbreak.html holly heartbreak] [http://women.embers.cn/moonlight-shadow.html moonlight shadow mp3] [http://naked.embers.cn/lucy-pinder-nude.html lucy pinder nude] [http://lesbian.embers.cn/tranny.html tranny] [http://anal.embers.cn/wife-whore.html wife whore] [http://naked.embers.cn/titten.html titten] [http://girl.embers.cn/certified-home.html certified home inspector] [http://hysteria-ua.galeon.com www] [http://fuck.embers.cn/hotwomen.html hotwomen] [http://xxx.embers.cn/adult-chat.html adult chat] [http://girls.embers.cn/figging.html figging] [http://women.embers.cn/teen-sluts.html teen sluts] [http://lesbian.embers.cn/pet-contests.html pet contests] [http://girls.embers.cn/renee-zellweger.html renee zellweger nude] [http://teen.embers.cn/silvie-thomas.html silvie thomas] [http://hardcore.embers.cn/playmates-2005.html playmates 2005] [http://www.jureese.2itb.com site] [http://www.kraorh.gobot.com web] [http://porn.embers.cn/bowling-for-soup.html bowling for soup almost] [http://teen.embers.cn/twincest.html twincest] [http://porno.embers.cn/wwedivas.html wwedivas] [http://naked.embers.cn/lovebird.html lovebird] [http://www.dicarrin.00server.com web] [http://women.embers.cn/teen-kelly-pussy.html teen kelly pussy] [http://hentai.embers.cn/microbikini.html microbikini] [http://anal.embers.cn/north-vancouver.html north vancouver real estate] [http://hentai.embers.cn/oxygen-bar-manufacturer.html oxygen bar manufacturer] [http://girls.embers.cn/big-ass-women.html big ass women] [http://anal.embers.cn/nude-camel-toe.html nude camel toe] [http://girl.embers.cn/commercial-property.html commercial property springfield missouri] [http://anal.embers.cn/naked-russian-girls.html naked russian girls] [http://porno.embers.cn/aluminized-pbi-blend.html aluminized pbi blend] [http://women.embers.cn/pet-name-tag.html pet name tag] [http://incest.embers.cn/cock-riders.html cock riders] [http://lesbian.embers.cn/improvement-imp02.html improvement imp02] [http://www.geocities.com/lytik2007/ site] [http://incest.embers.cn/precious-metals.html precious metals industry] [http://lesbian.embers.cn/wet-underwear.html wet underwear] [http://blondes.embers.cn/aladdin-carpet.html aladdin carpet] [http://xxx.embers.cn/circlejerkboys.html circlejerkboys] [http://porno.embers.cn/kristina-fey-nude.html kristina fey nude] [http://teens.embers.cn/eureka-tent.html eureka tent] [http://playboy.embers.cn/flickr.html flickr] [http://porno.embers.cn/bookcase-headboards.html bookcase headboards] [http://girls.embers.cn/xxx-mature.html xxx mature] [http://www.mike12394.00go.com site] [http://incest.embers.cn/penis-rash.html penis rash] [http://naked.embers.cn/free-teen-lesbian.html free teen lesbian porn] [http://playboy.embers.cn/female-penis.html female penis] [http://naked.embers.cn/fucking-couples.html fucking couples] [http://blondes.embers.cn/hottest-girl.html hottest girl] [http://hardcore.embers.cn/public-gay-sex.html public gay sex] [http://valiaps.sitemynet.com www] [http://www.tyutley.00page.com site] [http://digilander.libero.it/usrbb/ site] [http://girl.embers.cn/semenax.html semenax] [http://incest.embers.cn/hand-blown-glass.html hand blown glass candle holders] [http://blondes.embers.cn/girdlebound.html girdlebound] [http://porno.embers.cn/baby-boys-names.html baby boys names] [http://lesbian.embers.cn/nlp-seminar.html nlp seminar] [http://incest.embers.cn/toons.html toons] [http://porn.embers.cn/mary-kate-and-ashley.html mary kate and ashley porn] [http://playboy.embers.cn/raven-naked.html raven naked] [http://incest.embers.cn/black-blow-jobs.html black blow jobs] [http://naked.embers.cn/cocker-spaniel.html cocker spaniel puppy] [http://www.lattialaatta.scriptmania.com web] [http://playboy.embers.cn/sex-shots.html sex shots] [http://www.mcmaing.00home.com site] [http://lesbian.embers.cn/thread-lift.html thread lift] [http://women.embers.cn/logitech-webcam.html logitech webcam] [http://www.kepedigo.mysite.com http] [http://porno.embers.cn/audition-sex.html audition sex] [http://nude.embers.cn/myway.html myway] [http://girls.embers.cn/nipslips.html nipslips] [http://fuck.embers.cn/emerald-isle.html emerald isle] [http://movies.embers.cn/young-girl-pussy.html young girl pussy] [http://anal.embers.cn/free-erotic-video.html free erotic video] [http://www.samabrow.9f.com map] [http://teen.embers.cn/open-ass.html open ass] [http://xxx.embers.cn/reese-witherspoon.html reese witherspoon naked] [http://girls.embers.cn/coon-hunting-lights.html coon hunting lights] [http://naked.embers.cn/emo-girl.html emo girl] [http://hardcore.embers.cn/spongebob-squarepants.html spongebob squarepants porn] [http://www.gingerdin.htmlplanet.com www] [http://anal.embers.cn/nice-buns.html nice buns] [http://fuck.embers.cn/wife-orgy.html wife orgy] [http://porno.embers.cn/hunkhunter.html hunkhunter] [http://www.tusjen.safewebshop.com http] [http://hentai.embers.cn/fake-celeb-pics.html fake celeb pics] [http://home.sailormoon.com/kat-metel/ http] [http://sex.embers.cn/automatic-bagging.html automatic bagging machine] [http://incest.embers.cn/female-ass.html female ass] [http://girl.embers.cn/cum-covered-faces.html cum covered faces] [http://women.embers.cn/gaycum.html gaycum] [http://anal.embers.cn/professional-photographer.html professional photographer] [http://blondes.embers.cn/preteen-girls.html preteen girls nude] [http://girl.embers.cn/suteki-da-ne.html suteki da ne] [http://www.oursocalledlive.4t.com web]
{{LanguageBar}}
 
__TOC__
{{note|This article refers to compiling maps in [[Hammer]], not when compiling source code.}}
== Common terms ==
== Common terms ==
* '''Node''' -- The brush, side, area, location, etc, that the complier is computing.
* '''Node''' -- The brush, side, area, location, etc, that the compiler is computing.
* '''XXX''' -- Replace with a brush number or otherwise unique identifier.
* '''XXX''' -- Replace with a brush number or otherwise unique identifier.


== General errors ==
== General errors ==
;The system cannot find the file specified
;The system cannot find the file specified
:Be sure you typed your filename correctly, excluding any dashes, periods, etc. If it persists, try typing the file extention as you save it.
:This error is output by the file copy operation at the end of the compile if there is no .BSP file to copy, or if the destination doesn't exist. It often means that VBSP ran into an error before it could write the .BSP file. Check the VBSP output for any errors.
 
:Be sure you typed your filename correctly, excluding any dashes, periods, etc. If it persists, try typing the file extension as you save it.  
 
:If you have not ran the game that you are making a map for, or if the destination that you are trying to place the final .BSP file in does not exist at the time you attempted to compile your map, this error will occur as a result of Hammer lacking the ability to create file folders. This happens to a variety of people, most often when the person receiving the error has recently rebooted their computer after a crash, their computer dying, or a virus or other possible cause of computer data/memory loss. If this happens, all you have to do is run the game you are making the map for, or simply browse to the closest file directory to the one you are trying to put the final .BSP in a file browser, and make a folder named the same as the selected output folder. 


:If you have not ran the game that you are making a map for, or if the destination that you are trying to place the final .BSP file in does not exist at the time you attempted to compile your map, this error will occur as a result of Hammer lacking the ability to create file folders. This happens to a variety of people, most often when the person recieving the error has recently rebooted their computer after a crash, their computer dying, or a virus or other possible cause of computer data/memory loss. If this happens, all you have to do is run the game you are making the map for, or simply browse to the closest file directory to the one you are trying to put the final .BSP in a file browser, and make a folder named the same as the selected output folder.
:More information on causes can be found [[The system cannot find the file specified|here]].


;Error opening mapname.bsp
;Error opening mapname.bsp
Line 15: Line 22:
;SteamStartup() failed: SteamStartup(0xf,0x12eac4) failed with error 1: The registry is in use by another process, timeout expired
;SteamStartup() failed: SteamStartup(0xf,0x12eac4) failed with error 1: The registry is in use by another process, timeout expired
:Try recompiling or restarting Steam.
:Try recompiling or restarting Steam.
;WARNING node with unbounded volume
:This occurs when some part of your map is touching, or is out of the hammer map grid. Move away from the edges of the grid, then compile.
:Attempting to compile a map that contains a func_instance with cordons enabled inside it can also return this error.
:This can also happen with [[Invalid brush|invalid solids]].


== BSP (vbsp.exe) ==
== BSP (vbsp.exe) ==
; **** leaked ****
; **** leaked ****
:The most common compile error. You have at least one [[leak]] in your level. The inside of your map isn't properly sealed to the outside ("void"). Load the pointfile in Hammer. A red line that starts at the specified entity will go through the leak at some point. Follow it in 3D view, seal the leak and recompile.
:You have at least one [[leak]] in your level. The inside of your map isn't properly sealed to the outside void. Load the [[pointfile]] in Hammer. A red line that starts at the specified entity will go through the leak at some point. Follow it in 3D view, seal the leak and recompile.
:Sometimes after copying and/or moving [[brush entities]], their origins may leak out of bounds, leading for a ''seemingly'' non-existent entity to leak. To solve that issue, simply select the ''apparently'' leaking entity, right click on it and select "Center Origins". If you don't know what exact entity is causing the leak, try centering origins on all entities of the same class (Map -> Entity report -> Sort by Class).
 
;Bad detail brush side
:There is one or multiple incompatible tool textures used on a same brush (except for Hint/Skip, Occluder/Skip, etc.) One way to find it is to disable all Visgroups except the Tool Textures and look in the 3D Camera to find the discrepancies.


;Brush XXX: WARNING, microbrush
;Brush XXX: WARNING, microbrush
Line 24: Line 40:


;Brush XXX: FloatPlane: bad normal
;Brush XXX: FloatPlane: bad normal
:A brush has an unnecessary vertex on a "flat" plane. Probably a result of using the [[Vertex Tool]]. [[Hammer Go To Brush Dialog|Search for the brush]] with the number specified. Use the Vertex Tool again to fix it by merging the unnecessary vertex with another.
:A brush has an unnecessary vertex on a "flat" plane. Probably a result of using the [[Vertex Tool]]. [[Hammer Go To Brush Dialog|Search for the brush]] with the number specified. Use the Vertex Tool again to fix it by merging the unnecessary vertex with another. Can also occur when creating small curved brushes with too many vertices.


;Can't find surfaceprop for material, using default
;Can't find surfaceprop for material, using default
:There is a texture in your map that doesn't have a [[Material surface properties|material surface property]]. Probably you used a "model" texture on a world brush. Use the [[Hammer Replace Textures Dialog|replace texture dialog]], search for "model" in your used textures and replace them by others. If you use custom textures make sure they have a <code>[[Material surface properties|$surfaceprop]]</code> value.
:There is a texture in your map that doesn't have a [[Material surface properties|material surface property]]. Probably you used a "model" texture on a world brush. Use the [[Hammer Replace Textures Dialog|replace texture dialog]], search for "model" in your used textures and replace them by others. If you use custom textures make sure they have a <code>[[Material surface properties|$surfaceprop]]</code> value.


;Error: displacement found on a(n) (entityname) entity - not supported
;Error displacement found on a(n) (entityname) entity - not supported
:There is a brush entity in your map that has a [[Hammer Face Edit Disps|displacement]]. Displacements may not be brush entities. Search for a brush entity with a displacement on it and remove the displacement or move the brush entity back to a normal world brush.
:There is a brush entity in your map that has a [[Hammer Face Edit Disps|displacement]]. Displacements may not be brush entities. Search for a brush entity with a displacement on it and remove the displacement or move the brush entity back to a normal world brush.


Line 40: Line 56:
;Face List Count >= OVERLAY_BSP_FACE_COUNT
;Face List Count >= OVERLAY_BSP_FACE_COUNT
:There is a surface with too many [[Hammer Overlay Tool|overlays]] on it or an overlay that is applied to too many surfaces.
:There is a surface with too many [[Hammer Overlay Tool|overlays]] on it or an overlay that is applied to too many surfaces.
:Its also possible that you changed the lightmap scale setting to a low value (1-8) on a large brush with several info_overlays.


;material "" not found
;material "" not found
Line 46: Line 63:
;Memory leak: mempool blocks left in memory:
;Memory leak: mempool blocks left in memory:
:A chronic error that doesn't affect your map. Ignore.
:A chronic error that doesn't affect your map. Ignore.
;Too many t-junctions to fix up!
:It is currently unknown what exactly causes this issue to appear. Known to appear together with leaks on close-quarter maps. First, seal the leak, and if the issue persists, cut down on your [[func_detail]] and [[func_brush]] entities.


;Bad planenum
;Bad planenum
:The editor did not save the File Correctly - Re-save and compile. This can also be caused by more then one brush overlapping each other - Normally Caused by a bad Carve.
:The editor did not save the File Correctly - Re-save and compile. This can also be caused by more than one brush overlapping another - Normally caused by a bad carve.


;Tried parent
;Tried parent
Line 54: Line 74:


;XXX with splits
;XXX with splits
:The brush face has been split, and is a big no, no. The best way to try and fix it is to look for tiny brush penetrations, such as the tip of a spike on touching the side of a 1 x 1 x 1 brush.
:The brush face has been split, and is a big no-no. The best way to try and fix it is to look for tiny brush penetrations, such as the tip of a spike on touching the side of a 1 x 1 x 1 brush.
 
;vbsp.exe crash potential causes (no error message)
:Playerclip texture used on displacement brush.
  {{Note|In order to find this error, uncheck all visgroups except "Clip/player".}}
:1 unit height displacement with power of 4 on different sides.
 
;Multiple references for cubemap on texture ../path/stonefloor006a_3328_640_-640!!
You have [[env_cubemap|env_cubemaps]] which faces directly attached to more then one cubemap. You need to find this both cubemaps with overlapping faces and reassign the one which is wrong. The last one numbers in error are coordinates, you can fly to them with ''View->Go to Coordinates''.
 
;Material <name> is depending on itself through materialval $bottommaterial!
Basically this error indicates that you have materials in scene in which .vmt $bottommaterial referencing to it's own one vmt! Just find this materials and replace this value to another one you want, for example for water set ''$bottommaterial" "dev/dev_waterbeneath2"'' or any other you need. Check material names carefully it can be the same name, but with prefix like "a", "b" and you won't even notice that!


== VIS (vvis.exe) ==
== VIS (vvis.exe) ==
;loadportals: couldn't read filename.prt
;loadportals: couldn't read filename.prt
:Vvis can't find the portal file created by vbsp. Either vbsp didn't create it because of an error (leak?) or vvis uses an incorrect file path.
:Vvis can't find the portal file created by vbsp. Either vbsp didn't create it because of an error (leak?) or vvis uses an incorrect file path. (A fix is to make sure that the map name has no capital letters or dots.)
Or: You created some new Areaportals but compiled with BSP "Only entities".
 
Or: You accidentally placed/moved a light_environment entity outside the bounds of your skybox. (wouldn't this generate a leak?)


;Leaf (portal XXX) with too many portals.
;Leaf (portal XXX) with too many portals.
:There is an area with too complicate geometry. Try to simplify some rooms and corridors and make smaller structures [[func_detail|func_details]].
:There is an area with geometry that's too complex. Try to simplify some rooms and corridors and make smaller structures [[func_detail]].


== RAD (vrad.exe) ==
== RAD (vrad.exe) ==
Line 69: Line 103:
;WARNING: Too many light styles on a face (XXX,XXX,XXX)
;WARNING: Too many light styles on a face (XXX,XXX,XXX)
:At the coordinates specified there is a surface lit by too many "effect" [[List of entities#Light_Entities|lights]]. This includes lights that have a name (which compiles both on and off status so you could switch them) or a light using effects like flickering. Remove some of them, disable flickering effects or make sure they don't have a name.
:At the coordinates specified there is a surface lit by too many "effect" [[List of entities#Light_Entities|lights]]. This includes lights that have a name (which compiles both on and off status so you could switch them) or a light using effects like flickering. Remove some of them, disable flickering effects or make sure they don't have a name.
{{note|A surface may only be lit by up to 4 lights with different [[targetname]]s or [[lightstyle]]s.}}


;<number> degenerate faces
;<number> degenerate faces
{{todo|Tests show it has to do with transparent materials. Find the brush(es) and change its textures to eliminate the error.}}
Degenerate faces are faces that are computed to have no or negative area. This may cause lighting problems.
 
This could also have something to do with transparency in textures. {{Todo|What specifically, as there's multiple ways to make transparent materials. Solid evidence of this would be nice.}}


;warning - face vectors parallel to face normal. bad lighting will be produced
;warning - face vectors parallel to face normal. bad lighting will be produced
 
:This can happen when using Align to texture ({{key|Alt}} + {{key|RMB}} right mouse button), to fix this, find the brush causing it (backtrack through your recent changes), align the affected face to World or Face, and manually apply the texture settings.
{{todo|Unknown fix}}


== See also ==
== See also ==
Line 81: Line 117:


== External links ==
== External links ==
* [http://www.snarkpit.net/editing.php?page=tutorials&game=HL2&id=129 The SnarkPit - Error list]
 
* [http://www.interlopers.net/errors/ Interlopers.net - Error list]
* [http://www.interlopers.net/errors/ Interlopers.net - Automatic Error Check] - you can also upload your compile log.
* [http://www.interlopers.net/errors/ Interlopers.net - Automatic Error Check] - you can also upload your compile log.
* [http://hl.logout.fr/?p=HLErr HL.LOGOUT.FR - Automatic Error Check] - an alternative to the above tool (in French).
* [http://hl.logout.fr/?p=HLErr HL.LOGOUT.FR - Automatic Error Check] - an alternative to the above tool (in French).
 
[[Category:Level Design]]
[[Category: Level Design]]
[[Category:English]]

Latest revision as of 13:04, 10 March 2025

English (en)Русский (ru)中文 (zh)Translate (Translate)
Note.pngNote:This article refers to compiling maps in Hammer, not when compiling source code.

Common terms

  • Node -- The brush, side, area, location, etc, that the compiler is computing.
  • XXX -- Replace with a brush number or otherwise unique identifier.

General errors

The system cannot find the file specified
This error is output by the file copy operation at the end of the compile if there is no .BSP file to copy, or if the destination doesn't exist. It often means that VBSP ran into an error before it could write the .BSP file. Check the VBSP output for any errors.
Be sure you typed your filename correctly, excluding any dashes, periods, etc. If it persists, try typing the file extension as you save it.
If you have not ran the game that you are making a map for, or if the destination that you are trying to place the final .BSP file in does not exist at the time you attempted to compile your map, this error will occur as a result of Hammer lacking the ability to create file folders. This happens to a variety of people, most often when the person receiving the error has recently rebooted their computer after a crash, their computer dying, or a virus or other possible cause of computer data/memory loss. If this happens, all you have to do is run the game you are making the map for, or simply browse to the closest file directory to the one you are trying to put the final .BSP in a file browser, and make a folder named the same as the selected output folder.
More information on causes can be found here.
Error opening mapname.bsp
The compiler can't find the .BSP file for your map or it's corrupted. Probably the .BSP wasn't created by Vbsp because of an error. If not check the pathname.
SteamStartup() failed
SteamStartup(0xf,0x12eac4) failed with error 1: The registry is in use by another process, timeout expired
Try recompiling or restarting Steam.
WARNING node with unbounded volume
This occurs when some part of your map is touching, or is out of the hammer map grid. Move away from the edges of the grid, then compile.
Attempting to compile a map that contains a func_instance with cordons enabled inside it can also return this error.
This can also happen with invalid solids.

BSP (vbsp.exe)

**** leaked ****
You have at least one leak in your level. The inside of your map isn't properly sealed to the outside void. Load the pointfile in Hammer. A red line that starts at the specified entity will go through the leak at some point. Follow it in 3D view, seal the leak and recompile.
Sometimes after copying and/or moving brush entities, their origins may leak out of bounds, leading for a seemingly non-existent entity to leak. To solve that issue, simply select the apparently leaking entity, right click on it and select "Center Origins". If you don't know what exact entity is causing the leak, try centering origins on all entities of the same class (Map -> Entity report -> Sort by Class).
Bad detail brush side
There is one or multiple incompatible tool textures used on a same brush (except for Hint/Skip, Occluder/Skip, etc.) One way to find it is to disable all Visgroups except the Tool Textures and look in the 3D Camera to find the discrepancies.
Brush XXX
WARNING, microbrush
A brush is too small to be compiled (usually smaller than 1 Hammer unit). Search for the brush with the number specified. Delete the brush and recreate it in a bigger scale.
Brush XXX
FloatPlane: bad normal
A brush has an unnecessary vertex on a "flat" plane. Probably a result of using the Vertex Tool. Search for the brush with the number specified. Use the Vertex Tool again to fix it by merging the unnecessary vertex with another. Can also occur when creating small curved brushes with too many vertices.
Can't find surfaceprop for material, using default
There is a texture in your map that doesn't have a material surface property. Probably you used a "model" texture on a world brush. Use the replace texture dialog, search for "model" in your used textures and replace them by others. If you use custom textures make sure they have a $surfaceprop value.
Error displacement found on a(n) (entityname) entity - not supported
There is a brush entity in your map that has a displacement. Displacements may not be brush entities. Search for a brush entity with a displacement on it and remove the displacement or move the brush entity back to a normal world brush.
Error! To use model "filename.mdl" with static_prop, it must be compiled with $staticprop!
There is a prop_static in your level that is using a incorrect physics model. The model will not show up in game. Use prop_physics or prop_dynamic_override instead.
Error loading studio model ""!
There is a "prop_" model in your map using no model or an incorrect model filename.
Face List Count >= OVERLAY_BSP_FACE_COUNT
There is a surface with too many overlays on it or an overlay that is applied to too many surfaces.
Its also possible that you changed the lightmap scale setting to a low value (1-8) on a large brush with several info_overlays.
material "" not found
A surface or an overlay uses no texture or an incorrect texture filename.
Memory leak
mempool blocks left in memory:
A chronic error that doesn't affect your map. Ignore.
Too many t-junctions to fix up!
It is currently unknown what exactly causes this issue to appear. Known to appear together with leaks on close-quarter maps. First, seal the leak, and if the issue persists, cut down on your func_detail and func_brush entities.
Bad planenum
The editor did not save the File Correctly - Re-save and compile. This can also be caused by more than one brush overlapping another - Normally caused by a bad carve.
Tried parent
The node in the compile has no parent node - this is very rare, but will most likely be caused by vertex manipulation errors passing through hammers safe guard. Think of a box but the whole box is only one side.
XXX with splits
The brush face has been split, and is a big no-no. The best way to try and fix it is to look for tiny brush penetrations, such as the tip of a spike on touching the side of a 1 x 1 x 1 brush.
vbsp.exe crash potential causes (no error message)
Playerclip texture used on displacement brush.
Note.pngNote:In order to find this error, uncheck all visgroups except "Clip/player".
1 unit height displacement with power of 4 on different sides.
Multiple references for cubemap on texture ../path/stonefloor006a_3328_640_-640!!

You have env_cubemaps which faces directly attached to more then one cubemap. You need to find this both cubemaps with overlapping faces and reassign the one which is wrong. The last one numbers in error are coordinates, you can fly to them with View->Go to Coordinates.

Material <name> is depending on itself through materialval $bottommaterial!

Basically this error indicates that you have materials in scene in which .vmt $bottommaterial referencing to it's own one vmt! Just find this materials and replace this value to another one you want, for example for water set $bottommaterial" "dev/dev_waterbeneath2" or any other you need. Check material names carefully it can be the same name, but with prefix like "a", "b" and you won't even notice that!

VIS (vvis.exe)

loadportals
couldn't read filename.prt
Vvis can't find the portal file created by vbsp. Either vbsp didn't create it because of an error (leak?) or vvis uses an incorrect file path. (A fix is to make sure that the map name has no capital letters or dots.)

Or: You created some new Areaportals but compiled with BSP "Only entities".

Or: You accidentally placed/moved a light_environment entity outside the bounds of your skybox. (wouldn't this generate a leak?)

Leaf (portal XXX) with too many portals.
There is an area with geometry that's too complex. Try to simplify some rooms and corridors and make smaller structures func_detail.

RAD (vrad.exe)

Texture axis perpendicular to face at (XXX, XXX, XXX)
At the coordinates specified there is a surface with incorrect texture values. Try to find the surface and make sure the texture is "aligned to world".
WARNING
Too many light styles on a face (XXX,XXX,XXX)
At the coordinates specified there is a surface lit by too many "effect" lights. This includes lights that have a name (which compiles both on and off status so you could switch them) or a light using effects like flickering. Remove some of them, disable flickering effects or make sure they don't have a name.
Note.pngNote:A surface may only be lit by up to 4 lights with different targetnames or lightstyles.
<number> degenerate faces

Degenerate faces are faces that are computed to have no or negative area. This may cause lighting problems.

This could also have something to do with transparency in textures.

Todo: What specifically, as there's multiple ways to make transparent materials. Solid evidence of this would be nice.
warning - face vectors parallel to face normal. bad lighting will be produced
This can happen when using Align to texture (Alt + RMB right mouse button), to fix this, find the brush causing it (backtrack through your recent changes), align the affected face to World or Face, and manually apply the texture settings.

See also

External links