Engine Hunk Overflow
Jump to navigation
Jump to search
What Does It Mean?
Engine Error
This is an engine error message that occurs when attempting to load the map in-game. This is typically related to Lightmap values being modified to an odd value.
What Is Hunk Allocation
This is described as the memory allocated for light data.
- 0 = to normal "program memory" with alloc
- 1 = to Valve's seemingly limited to certain size "MemoryStack memory" with Hunk_Alloc
How To Fix
There are two ways of fixing this error:
- +r_hunkalloclightmaps 0
- This will eliminate the error altogether. Insert this command into your game's launch options. For multiplayer maps, this command also needs to be inserted in the start up command line for game servers.
- Finding faces with odd lightmap values.
- If you have not changed any lightmap value at any given time, the fastest way to reset the lightmap value back is to select the entire map, open the face edit sheet and input
16
in the lightmap/luxels value. - Check your displacements. If they are large, the lightmap value will automatically change (sometimes, to an undesired value).
- If you have not changed any lightmap value at any given time, the fastest way to reset the lightmap value back is to select the entire map, open the face edit sheet and input