Out of memory loading solid

From Valve Developer Community
Jump to: navigation, search
Wikipedia - Letter.png
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
Underlinked - Logo.png
This article needs more Wikipedia icon links to other articles to help Wikipedia icon integrate it into the encyclopedia. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024

This Hammer error usually occurs when loading invalid solid structures, but can occur in other ways as well. Until the solids are removed in a text editor, the map won't load in the editor.

Fixing

Open your map in your text editor of choice. Go to the line that Hammer specifies and delete the entire solid class that encases it. An example of a damaged solid is listed below.

solid
	{
		"id" "33026"
		side
		{
			"id" "21912"
			"plane" "(1.#QNAN 1.#QNAN -132) (1.#QNAN 1.#QNAN -168) (1.#QNAN 1.#QNAN -168)"
			"material" "TOOLS/TOOLSNODRAW"
			"uaxis" "[1 0 0 0] 0.25"
			"vaxis" "[0 -1 0 0] 0.25"
			"rotation" "0"
			"lightmapscale" "16"
			"smoothing_groups" "0"
		}
		side
		{
			"id" "21911"
			"plane" "(1.#QNAN 1.#QNAN -140) (1.#QNAN 1.#QNAN -176) (1.#QNAN 1.#QNAN -176)"
			"material" "TOOLS/TOOLSNODRAW"
			"uaxis" "[1 0 0 0] 0.25"
			"vaxis" "[0 -1 0 0] 0.25"
			"rotation" "0"
			"lightmapscale" "16"
			"smoothing_groups" "0"
		}
		side
		{
			"id" "21910"
			"plane" "(1.#QNAN 1.#QNAN -132) (1.#QNAN 1.#QNAN -132) (1.#QNAN 1.#QNAN -140)"
			"material" "TOOLS/TOOLSNODRAW"
			"uaxis" "[0 1 0 0] 0.25"
			"vaxis" "[0 0 -1 0] 0.25"
			"rotation" "0"
			"lightmapscale" "16"
			"smoothing_groups" "0"
		}
		side
		{
			"id" "21909"
			"plane" "(1.#QNAN 1.#QNAN -176) (1.#QNAN 1.#QNAN -176) (1.#QNAN 1.#QNAN -168)"
			"material" "TOOLS/TOOLSNODRAW"
			"uaxis" "[0 1 0 0] 0.25"
			"vaxis" "[0 0 -1 0] 0.25"
			"rotation" "0"
			"lightmapscale" "16"
			"smoothing_groups" "0"
		}
		side
		{
			"id" "21908"
			"plane" "(1.#QNAN 1.#QNAN -168) (1.#QNAN 1.#QNAN -132) (1.#QNAN 1.#QNAN -140)"
			"material" "TOOLS/TOOLSNODRAW"
			"uaxis" "[1 0 0 0] 0.25"
			"vaxis" "[0 0 -1 0] 0.25"
			"rotation" "0"
			"lightmapscale" "16"
			"smoothing_groups" "0"
		}
		side
		{
			"id" "21907"
			"plane" "(1.#QNAN 1.#QNAN -176) (1.#QNAN 1.#QNAN -140) (1.#QNAN 1.#QNAN -132)"
			"material" "TOOLS/TOOLSNODRAW"
			"uaxis" "[1 0 0 0] 0.25"
			"vaxis" "[0 0 -1 0] 0.25"
			"rotation" "0"
			"lightmapscale" "16"
			"smoothing_groups" "0"
		}
		editor
		{
			"color" "0 219 116"
			"visgroupshown" "1"
			"visgroupautoshown" "1"
		}
}
Wikipedia - Letter.png
This article has not been added to any content Wikipedia icon categories. Please help out by Wikipedia icon adding categories.
January 2024