All entities broken after compile.

Doggo

L1: Registered
Jan 14, 2017
21
0
Alright so here's the story.

I'm working on a jailbreak map(doesn't matter why). And as I was making an obstacle I tried to make a cogwheel looking structure and ended up crashing hammer after attempting to use the carve tool. The map was saved so no worries, however after compiling I noticed I spawned in the middle of the map, there was no lighting, and all entities were gone. I checked my vmf, and noticed that all brush entities where turned into nameless entities with oddly named values, and all regular entities have been removed completely. Is there a way to deal with this? And if so then how?
 

henke37

aa
Sep 23, 2011
2,075
515
The "fix" is called "revert from source control". And if you have to ask about it, you can't do it, because you weren't using source control in the first place.
 
Mar 23, 2013
1,013
347
Rename your vmx file to vmf. It's a backup of a previous save of your vmf so that should help you unless you saved the fucked version of your vmf again. the vmx is where your vmfs are

Also never use carve ever. Got it?
Carve eats babies! that's a fact! So don't use it.
 

Freyja

aa
Jul 31, 2009
2,994
5,813
What happened is carve probably produced an invalid solid through floating point loss and you ran into the bug where opening a map with an invalid solid can erase all entities