Buildcubemaps crashes :(

lePobz

Tank
Joined
Sep 18, 2003
Messages
6,485
Reaction score
0
This is a frustrating one. A map i'm making compiles fine with no errors at all. When I run buildcubemaps in the game, the images are generated, but instead of returning to the game, HL2.exe crashes with this error: -

lump.jpg


Now, i've created another map consisting of a playerspawn in an empty skybox to see if this would work (to eliminate the possibility of anything in my other map causing this) and I get exactly the same error.

Any ideas, anyone?
 
I did a search, and it seems that this may mean the level is corrupt, and being corrupted by the buildcubemap process.

Try to verify the cache integrity. If this doesn't work, delete the hl2.exe from the Half-Life 2 directory and let it be replaced, and then attempt to buildcubemaps again.
 
I've done these, everything checks out fine -

Could you do me a favour and try to run buildcubemaps on the test map I made - I know it won't work on mine, I just want to see if it's the maps problem or the tools problem.

I've hosted it here.
 
I get the same error when I buildcubemaps on that level, lePobz. It must be one of your compile tools causing it.
 
I use the compile tools that come with the latest SDK though. I've not changed anything, i've verified the caches ... what's the problem?

One odd thing I did notice is the introduction of a '2D Skybox' texture ... should I be using this instead of the generic 'Skybox' texture? I doubt that would cause this problem though since it compiles fine and displays the skybox fine already, its just the buildcubemaps that breaks.
 
I don't know what would cause this, except for some data being written in the compile process which isn't able to properly be kept when you build the cubemaps. I don't think it has to do with the skybox.

Are you compiling the level under the same engine as you're running it in, and building cubemaps in?
 
Right, apparently Valve have ceased using their Half-Life2 compile tools and are instead using 'Orange Box' compile tools. Thus, any and every map you make, even though it will run fine on every valve source game, will have to have its cubemaps built in Ep2.

Good luck finding that in the Valve documentation.
 
Cubemaps seem to be a major issue for VALVe all the time.

Cubemaps dont build properly in TF2 either and most of the time fails with an error saying that the sky is built with different flags or something. And it feels to me as every second release breaks the cubemaps one way or another....
 
Back
Top